Author: bugman
Date: Wed Oct 22 10:21:18 2014
New Revision: 26336
URL: http://svn.gna.org/viewcvs/relax?rev=26336&view=rev
Log:
Fix for the atomic position handling in
pipe_control.structure.main.load_spins_multi_mol().
The dimensionality of the position structure returned by the structural object
atom_loop() method
needed to be reduced.
Modified:
trunk/pipe_control/structure/main.py
Modified: trunk/pipe_control/structure/main.py
URL:
http://svn.gna.org/viewcvs/relax/trunk/pipe_control/structure/main.py?rev=26336&r1=26335&r2=26336&view=diff
==============================================================================
--- trunk/pipe_control/structure/main.py (original)
+++ trunk/pipe_control/structure/main.py Wed Oct 22 10:21:18 2014
@@ -852,7 +852,7 @@
id = generate_spin_id_unique(mol_name=mol_name_target,
res_num=res_num, res_name=res_name, spin_name=atom_name)
# Store the position info in all cases.
- positions[mol_name][id] = pos
+ positions[mol_name][id] = pos[0]
# Not a new ID.
if id in ids:
_______________________________________________
relax (http://www.nmr-relax.com)
This is the relax-commits mailing list
[email protected]
To unsubscribe from this list, get a password
reminder, or change your subscription options,
visit the list information page at
https://mail.gna.org/listinfo/relax-commits