Menu

Commit [r22045]  Maximize  Restore  History

Better support for the writing out of multiple molecules by the structure.write_pdb user function.

This is for the internal structural object write_pdb() method. Now each molecule is assigned a
different chain ID in the PDB file, and the chain IDs loaded into the structural object are ignored.
The chain IDs should however be preserved when using structure.read_pdb followed by
structure.write_pdb, without storing the ID.

A number of the Structure system tests had to be updated, as now the relax generated PDB files will
always write out a chain ID.

bugman 2014-01-24

changed /trunk/lib/structure/internal/object.py
changed /trunk/test_suite/shared_data/structures/diff_tensors/ellipsoid.pdb
changed /trunk/test_suite/shared_data/structures/diff_tensors/sphere.pdb
changed /trunk/test_suite/shared_data/structures/diff_tensors/spheroid.pdb
changed /trunk/test_suite/system_tests/structure.py
/trunk/lib/structure/internal/object.py Diff Switch to side-by-side view
Loading...
/trunk/test_suite/shared_data/structures/diff_tensors/ellipsoid.pdb Diff Switch to side-by-side view
Loading...
/trunk/test_suite/shared_data/structures/diff_tensors/sphere.pdb Diff Switch to side-by-side view
Loading...
/trunk/test_suite/shared_data/structures/diff_tensors/spheroid.pdb Diff Switch to side-by-side view
Loading...
/trunk/test_suite/system_tests/structure.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.