Menu

Commit [r26595]  Maximize  Restore  History

Set more reasonable default values for the lib.structure.pdb_write functions atom() and hetatm().

The occupancy now defaults to 1.0 instead of '', and the temperature factor to 0.0 instead of ''.
This avoid painful errors when using these functions, as these arguments must be floating point
numbers at all times, hence the default value of '' causes a TypeError.

bugman 2014-11-17

changed /trunk/lib/structure/pdb_write.py
/trunk/lib/structure/pdb_write.py Diff Switch to side-by-side view
Loading...
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.