mailr5103 - /1.3/specific_fns/n_state_model.py


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

Header


Content

Posted by edward on February 21, 2008 - 12:56:
Author: bugman
Date: Thu Feb 21 12:56:35 2008
New Revision: 5103

URL: http://svn.gna.org/viewcvs/relax?rev=5103&view=rev
Log:
Bug fix for the cone_pdb() function.

The rotation matrix args are 'R', not 'rotation'.


Modified:
    1.3/specific_fns/n_state_model.py

Modified: 1.3/specific_fns/n_state_model.py
URL: 
http://svn.gna.org/viewcvs/relax/1.3/specific_fns/n_state_model.py?rev=5103&r1=5102&r2=5103&view=diff
==============================================================================
--- 1.3/specific_fns/n_state_model.py (original)
+++ 1.3/specific_fns/n_state_model.py Thu Feb 21 12:56:35 2008
@@ -235,12 +235,12 @@
             angle = cdp.theta_diff_in_cone
         elif cone_type == 'diff on cone':
             angle = cdp.theta_diff_on_cone
-        generic_fns.structure.cone_edge(atomic_data=atomic_data, res_num=3, 
apex=cdp.pivot_point, rotation=R, angle=angle, length=norm(cdp.pivot_CoM), 
inc=20)
+        generic_fns.structure.cone_edge(atomic_data=atomic_data, res_num=3, 
apex=cdp.pivot_point, R=R, angle=angle, length=norm(cdp.pivot_CoM), inc=20)
 
         # Generate the cone cap.
         if cone_type == 'diff in cone':
             print "\nGenerating the cone cap."
-            
generic_fns.structure.generate_vector_dist(atomic_data=atomic_data, 
res_num=4, centre=cdp.pivot_point, rotation=R, max_angle=angle, 
scale=norm(cdp.pivot_CoM), inc=20)
+            
generic_fns.structure.generate_vector_dist(atomic_data=atomic_data, 
res_num=4, centre=cdp.pivot_point, R=R, max_angle=angle, 
scale=norm(cdp.pivot_CoM), inc=20)
 
         # Terminate the chain.
         generic_fns.structure.terminate(atomic_data=atomic_data, 
res_num=res_num)




Related Messages


Powered by MHonArc, Updated Thu Feb 21 13:20:39 2008