You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Traceback (most recent call last):
File "/opt/MitoHiFi/src/mitohifi.py", line 566, in <module>
main()
File "/opt/MitoHiFi/src/mitohifi.py", line 491, in main
plot_annotation.plot_annotation("final_mitogenome.gb", "final_mitogenome.annotation.png")
File "/opt/MitoHiFi/src/plot_annotation.py", line 38, in plot_annotation
graphic_record = MyCustomTranslator().translate_record(in_gb)
File "/usr/local/lib/python3.6/dist-packages/dna_features_viewer/BiopythonTranslator/BiopythonTranslatorBase.py", line 89, in translate_record
sequence=str(record.seq) if record.seq.defined else None,
AttributeError: 'Seq' object has no attribute 'defined'
I did a modification to line 89 and it worked, so will commit my patch.
Changing:
sequence=str(record.seq) if record.seq.defined else None
To:
sequence=str(record.seq) if record.seq else None
Since I don't know about defined for Biopython Seq, maybe is something old?
The text was updated successfully, but these errors were encountered:
sbassi
added a commit
to sbassi/DnaFeaturesViewer
that referenced
this issue
Aug 19, 2024
Got this error:
I did a modification to line 89 and it worked, so will commit my patch.
Changing:
To:
Since I don't know about defined for Biopython Seq, maybe is something old?
The text was updated successfully, but these errors were encountered: