carolzhou / multiPhATE2

multiPhATE with comparative genomics
18 stars 10 forks source link

Minor compatibility improvements #11

Closed linsalrob closed 3 years ago

linsalrob commented 3 years ago

This PR has three minor compatibility improvements because of deprecated code:

  1. getiterator() is deprecated from xml.etree.ElementTree. For more information, please see the description at lxml. This has now been replaced by the .iter() function.

  2. Bio.Alphabet has been completely deprecated. For these three files, generic_dna and generic_protein were imported from Bio.Alphabet and never used. The import caused things to break. Removing the import statement removes this issue.