[Biopython-dev] [Bug 2943] MMCIFParser only handling a single model.
bugzilla-daemon at portal.open-bio.org
bugzilla-daemon at portal.open-bio.org
Wed Nov 4 23:42:22 EST 2009
http://bugzilla.open-bio.org/show_bug.cgi?id=2943
------- Comment #3 from TallPaulInJax at yahoo.com 2009-11-04 23:42 EST -------
Important point of discussion:
In PDBParser.py as of this date, NO MATTER whether there is an explicit MODEL
record or not in the .ent file, PDBParser forces the first model id to be 0 and
then increments the counter. If the authors of the .ent file chose to
explicitly use MODEL records 2,3,5,7 these would be ignored and instead given
model id's of 0,1,2,3 respectively by PDBParser. There is no attribute in the
object model for the true MODEL number. To me, this is a bug since some user
thinking they are studying model X is instead studying model Y.
Currently the code for MMCIFParser.py does NOT follow this logic. Model numbers
in the file are faithfully used as the model id in the object structure.
However, should it be deemed that the PDBParser method is a feature instead of
a bug, then the change is easy enough to make.
--
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