mailr26336 - /trunk/pipe_control/structure/main.py


Others Months | Index by Date | Thread Index
>>   [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Header


Content

Posted by edward on October 22, 2014 - 10:21:
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:




Related Messages


Powered by MHonArc, Updated Wed Oct 22 11:00:03 2014