[Biopython-dev] [Bug 2950] Bio.PDBIO.save writes MODEL records without model id
bugzilla-daemon at portal.open-bio.org
bugzilla-daemon at portal.open-bio.org
Tue Nov 17 08:22:47 EST 2009
http://bugzilla.open-bio.org/show_bug.cgi?id=2950
------- Comment #3 from TallPaulInJax at yahoo.com 2009-11-17 08:22 EST -------
The offending lines of code are here in PDBIO:
http://github.com/biopython/biopython/blob/master/Bio/PDB/PDBIO.py#L129
if model_flag:
fp.write("MODEL \n")
For now, this should just be changed to:
if model_flag:
fp.write("MODEL %s\n" %model.id)
When the 'reported' model number ID is added, I believe model ID would best be
replaced with the new field above.
Paul
--
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