Closed xonq closed 1 year ago
Thanks. The same error was recently fixed in https://github.com/Edinburgh-Genome-Foundry/DnaFeaturesViewer/issues/73. Perhaps the newest Biopython had an additional change. Can you please confirm that you use the latest v3.1.2 ? (it's also on PyPI)
I must have been installing a cached package when trying to reinstall dna_features_viewer
- my bad. thank you!
aa_short_to_long_form_dict
is a global variable and the issue is fixed if moved into thetranslate
function withinbiotools.py
. I imagine it is still broken, potentially because of biopythonBio.PDB.Polypeptide aa1 and aa3
. It should ideally not be a global variable anyway.Biopython 1.78 works, this failure occurs on 1.81