Menu

Commit [r16313]  Maximize  Restore  History

Changed the behaviour of the generate_spin_id() and generate_spin_id_data_array() functions.

This is a large change affecting many parts of the code base. The problem that this solves is the
incorrect usage of the '&' character in spin IDs, tripping up on the powerful Selection object of
Chris MacRaild.

For example, the spin ID ':2&:Glu' cannot be correctly handled. This actually matches all residues
with the number 2, and all residues with the name 'Glu'. It is very strange that this has not been
noticed before!

bugman 2012-05-16

changed /1.3/generic_fns/mol_res_spin.py
changed /1.3/generic_fns/paramag.py
changed /1.3/generic_fns/pcs.py
changed /1.3/generic_fns/rdc.py
changed /1.3/generic_fns/relax_data.py
changed /1.3/generic_fns/selection.py
changed /1.3/generic_fns/sequence.py
changed /1.3/generic_fns/spectrum.py
changed /1.3/generic_fns/value.py
changed /1.3/relax_io.py
changed /1.3/test_suite/system_tests/mol_res_spin.py
changed /1.3/test_suite/system_tests/rdc.py
changed /1.3/test_suite/unit_tests/_generic_fns/test_mol_res_spin.py
/1.3/generic_fns/mol_res_spin.py Diff Switch to side-by-side view
Loading...
/1.3/generic_fns/paramag.py Diff Switch to side-by-side view
Loading...
/1.3/generic_fns/pcs.py Diff Switch to side-by-side view
Loading...
/1.3/generic_fns/rdc.py Diff Switch to side-by-side view
Loading...
/1.3/generic_fns/relax_data.py Diff Switch to side-by-side view
Loading...
/1.3/generic_fns/selection.py Diff Switch to side-by-side view
Loading...
/1.3/generic_fns/sequence.py Diff Switch to side-by-side view
Loading...
/1.3/generic_fns/spectrum.py Diff Switch to side-by-side view
Loading...
/1.3/generic_fns/value.py Diff Switch to side-by-side view
Loading...
/1.3/relax_io.py Diff Switch to side-by-side view
Loading...
/1.3/test_suite/system_tests/mol_res_spin.py Diff Switch to side-by-side view
Loading...
/1.3/test_suite/system_tests/rdc.py Diff Switch to side-by-side view
Loading...
/1.3/test_suite/unit_tests/_generic_fns/test_mol_res_spin.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.