Skip to content

Commit

Permalink
Merge pull request #1 from Edinburgh-Genome-Foundry/dev
Browse files Browse the repository at this point in the history
Biopython <=1.77 compatibility fix
  • Loading branch information
veghp authored Sep 20, 2020
2 parents f9e12d1 + 7d5d744 commit 7fae27c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

setup(
name="snapgene_reader",
version="0.1.18",
version="0.1.19",
author="yishaluo",
maintainer="EdinburghGenomeFoundry",
description="Convert Snapgene *.dna files dict/json/biopython.",
Expand Down
2 changes: 2 additions & 0 deletions snapgene_reader/snapgene_reader.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@
try:
# Biopython <1.78
from Bio.Alphabet import DNAAlphabet

has_dna_alphabet = True
except ImportError:
# Biopython >=1.78
has_dna_alphabet = False
Expand Down

0 comments on commit 7fae27c

Please sign in to comment.