[Biopython-dev] [Bug 3166] Bio.PDB.DSSP fails to work on PDBs with HETATM
bugzilla-daemon at portal.open-bio.org
bugzilla-daemon at portal.open-bio.org
Thu Jan 20 15:57:55 UTC 2011
http://bugzilla.open-bio.org/show_bug.cgi?id=3166
------- Comment #12 from macrozhu+biopy at gmail.com 2011-01-20 10:57 EST -------
(In reply to comment #11)
> (In reply to comment #10)
> Cheers. Have you been able to test this patch, and does it satisfy?
>
I made changes to two lines because:
-- input to function res2code() should be instances of Bio.PDB.Residue, not
strings;
-- variable res is from last loop round, thus not suitable as input to
res2code().
So in the end, I changed two of the lines that use function res2code(). It has
been tested on around 20,000 PDBs.
cheers,
221c221
< res_seq_icode = '%s%s' % (res_id[1],res_id[2])
---
> res_seq_icode = res2code(res_id)
266c266
< res_seq_icode = '%s%s' % (res_id[1],res_id[2])
---
> res_seq_icode = res2code(res_id)
--
Configure bugmail: http://bugzilla.open-bio.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the Biopython-dev
mailing list