Skip to content

Commit

Permalink
Move strand argument from SeqFeature to FeatureLocation
Browse files Browse the repository at this point in the history
This was deprecated in Biopython 1.80 and removed in 1.82.¹

¹ <https://github.com/biopython/biopython/blob/biopython-182/DEPRECATED.rst>
  • Loading branch information
victorlin committed Dec 26, 2023
1 parent 05bff35 commit a3df38d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions augur/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -208,8 +208,7 @@ def _read_nuc_annotation_from_gff(record, reference):
from Bio.SeqFeature import SeqFeature, FeatureLocation
(name, start, stop) = sequence_regions[0]
nuc['pragma'] = SeqFeature(
FeatureLocation(start, stop),
strand=1,
FeatureLocation(start, stop, strand=1),
type='##sequence-region pragma',
id=name,
)
Expand Down

0 comments on commit a3df38d

Please sign in to comment.