ibest / ARC

Assembly by Reduced Complexity (ARC)
Apache License 2.0
41 stars 5 forks source link

Biopython method is deprecated #40

Closed samhunter closed 10 years ago

samhunter commented 10 years ago

Fix call to get rid of this warning: /opt/modules/devel/python/2.7.5/lib/python2.7/site-packages/Bio/Seq.py:302: BiopythonDeprecationWarning: This method is obsolete; please use str(my_seq) instead of my_seq.tostring().

samhunter commented 10 years ago

Fixed.

Alirezalorzadeh commented 7 years ago

Hi,

How did you fix this error? I'm running GESS (http://compbio.uthscsa.edu/GESS_Web/) and it uses this package.

Thanks,

Ali

samhunter commented 7 years ago

I made a change to the source code so that it converted from a Seq object to a string using str() instead of seq.tostring() .

You can see the change in the code here: https://github.com/ibest/ARC/commit/d316e2cb9c909f8c2e4b67a823112437ec6d8fd2

Sam