[Biopython-dev] [Bug 3171] New: inconsistent representation of missing elements PDB.PDBIO.PDBIO and PDB.Atom.Atom
João Rodrigues
anaryin at gmail.com
Wed Jan 26 11:55:46 UTC 2011
This being "my" problem, how do I fix this in Bugzilla? The problem is
already solved and pushed to Github since a few weeks.
Cheers!
João [...] Rodrigues
http://doeidoei.wordpress.com
On Wed, Jan 26, 2011 at 12:08 PM, <bugzilla-daemon at portal.open-bio.org>wrote:
> http://bugzilla.open-bio.org/show_bug.cgi?id=3171
>
> Summary: inconsistent representation of missing elements
> PDB.PDBIO.PDBIO and PDB.Atom.Atom
> Product: Biopython
> Version: 1.56
> Platform: Macintosh
> OS/Version: Mac OS
> Status: NEW
> Severity: normal
> Priority: P2
> Component: Main Distribution
> AssignedTo: biopython-dev at biopython.org
> ReportedBy: edvin.fuglebakk at gmail.com
>
>
> There seems to be an inconsistency in the way missing elements are
> represented
> in PDB.PDBIO.PDBIO and PDB.Atom.Atom.
>
> The constructor of Atom sets the attribute element to '?' if this is
> unkown,
> while PDBIO raises a value error if it encouters atoms with the element set
> to
> '?'. PDBIO._get_atom_line checks if Atom.element is falsish (None, False, 0
> ...) and chanhes the value of Atom.element to " " if it is.
>
> So it seems Atom represents missing elements by "?", while PDBIO represents
> them by falsish values, presumably None.
>
>
> --
> 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.
> _______________________________________________
> Biopython-dev mailing list
> Biopython-dev at lists.open-bio.org
> http://lists.open-bio.org/mailman/listinfo/biopython-dev
>
More information about the Biopython-dev
mailing list