The feature in question was added in Biopython 1.80, so it does not work with earlier versions.
This was by a test in one of my repos after the recent release of 0.7.1 (specifically commit eec72c3). Error message snippet:
+ File "/home/runner/micromamba/envs/augur/lib/python3.8/site-packages/BCBio/GFF/GFFParser.py", line 589, in _get_feature
+ new_feature = SeqFeature.SeqFeature(SeqFeature.SimpleLocation(start=rstart, end=rend, strand=feature_dict['strand']), feature_dict['type'],
+ AttributeError: module 'Bio.SeqFeature' has no attribute 'SimpleLocation'
Workaround
Install biopython>=1.80
Potential solution
Pin biopython>=1.80 in setup.py so dependency resolvers (e.g. pip) will not be able to install an incompatible version.
The feature in question was added in Biopython 1.80, so it does not work with earlier versions.
This was by a test in one of my repos after the recent release of 0.7.1 (specifically commit eec72c3). Error message snippet:
Workaround
Install
biopython>=1.80Potential solution
Pin
biopython>=1.80in setup.py so dependency resolvers (e.g.pip) will not be able to install an incompatible version.