[Biopython-dev] Bio.PDB - Missing values (was Moratorium on commits?)

Peter Cock p.j.a.cock at googlemail.com
Mon Aug 12 16:36:15 EDT 2013


On Monday, August 12, 2013, João Rodrigues wrote:

> Hi all,
>
> Moving to a new thread because this is a very specific issue.
>
> I think that, from a programming point of view (but I'm a biologist so
> correct me if I'm wrong) having None values upon parsing is probably a
> better idea. Then, when writing, these should be translated to whatever
> default there is in the PDB documentation.
>

Or throw an error to force the user to fix it?

Or write a blank occupancy to allow preservation of the
(flawed) input?

(Thank you for raising the output question now, it is a logically
consequence of putting None in the parsed structure)

Peter



More information about the Biopython-dev mailing list