Menu

Commit [r18734]  Maximize  Restore  History

Redesign of the generic_fns.mol_res_spin.generate_spin_id() function.

The function now tries to generate a unique ID based on the spin information in the specified data
pipe. This is to attempt to fix a bug uncovered by the Structure.test_read_xyz_internal2 system
test. Defaulting in all cases to the spin name rather than spin number will often fail for a small
organic molecule, as the name in XYZ files is the atomic symbol and hence will almost never be
unique.

bugman 2013-03-10

changed /trunk/generic_fns/angles.py
changed /trunk/generic_fns/mol_res_spin.py
changed /trunk/generic_fns/structure/scientific.py
changed /trunk/specific_fns/model_free/results.py
changed /trunk/specific_fns/relax_fit.py
/trunk/generic_fns/angles.py Diff Switch to side-by-side view
Loading...
/trunk/generic_fns/mol_res_spin.py Diff Switch to side-by-side view
Loading...
/trunk/generic_fns/structure/scientific.py Diff Switch to side-by-side view
Loading...
/trunk/specific_fns/model_free/results.py Diff Switch to side-by-side view
Loading...
/trunk/specific_fns/relax_fit.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.