mailr18547 - /branches/frame_order_testing/generic_fns/structure/main.py


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

Header


Content

Posted by edward on February 20, 2013 - 19:22:
Author: bugman
Date: Wed Feb 20 19:22:59 2013
New Revision: 18547

URL: http://svn.gna.org/viewcvs/relax?rev=18547&view=rev
Log:
Fix for the structure.rmsd user function for the frame order testing branch.

The code needs to be slightly modified to work with this branch.


Modified:
    branches/frame_order_testing/generic_fns/structure/main.py

Modified: branches/frame_order_testing/generic_fns/structure/main.py
URL: 
http://svn.gna.org/viewcvs/relax/branches/frame_order_testing/generic_fns/structure/main.py?rev=18547&r1=18546&r2=18547&view=diff
==============================================================================
--- branches/frame_order_testing/generic_fns/structure/main.py (original)
+++ branches/frame_order_testing/generic_fns/structure/main.py Wed Feb 20 
19:22:59 2013
@@ -595,7 +595,7 @@
     for model in models:
         coord.append([])
         for pos in cdp.structure.atom_loop(atom_id=atom_id, model_num=model, 
pos_flag=True):
-            coord[-1].append(pos[0])
+            coord[-1].append(pos[0][0])
         coord[-1] = array(coord[-1])
 
     # Calculate the RMSD.




Related Messages


Powered by MHonArc, Updated Wed Feb 20 19:40:02 2013