mailr23491 - /trunk/specific_analyses/n_state_model/uf.py


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

Header


Content

Posted by edward on May 28, 2014 - 10:31:
Author: bugman
Date: Wed May 28 10:31:49 2014
New Revision: 23491

URL: http://svn.gna.org/viewcvs/relax?rev=23491&view=rev
Log:
Fix for the n_state_model.cone_pdb user function for the recent internal 
structural object changes.

The cone arguments should now be called cone_obj.


Modified:
    trunk/specific_analyses/n_state_model/uf.py

Modified: trunk/specific_analyses/n_state_model/uf.py
URL: 
http://svn.gna.org/viewcvs/relax/trunk/specific_analyses/n_state_model/uf.py?rev=23491&r1=23490&r2=23491&view=diff
==============================================================================
--- trunk/specific_analyses/n_state_model/uf.py (original)
+++ trunk/specific_analyses/n_state_model/uf.py Wed May 28 10:31:49 2014
@@ -167,7 +167,7 @@
         angle = cdp.theta_diff_in_cone
     elif cone_type == 'diff on cone':
         angle = cdp.theta_diff_on_cone
-    cone = Iso_cone(angle)
+    cone_obj = Iso_cone(angle)
 
     # Create the structural object.
     structure = Internal()
@@ -191,14 +191,14 @@
     # Generate the cone outer edge.
     print("\nGenerating the cone outer edge.")
     cap_start_atom = mol.atom_num[-1]+1
-    cone_edge(mol=mol, cone=cone, res_name='CON', res_num=3, 
apex=cdp.pivot_point, R=R, scale=norm(cdp.pivot_CoM), inc=inc)
+    cone_edge(mol=mol, cone_obj=cone_obj, res_name='CON', res_num=3, 
apex=cdp.pivot_point, R=R, scale=norm(cdp.pivot_CoM), inc=inc)
 
     # Generate the cone cap, and stitch it to the cone edge.
     if cone_type == 'diff in cone':
         print("\nGenerating the cone cap.")
         cone_start_atom = mol.atom_num[-1]+1
-        generate_vector_dist(mol=mol, res_name='CON', res_num=3, 
centre=cdp.pivot_point, R=R, limit_check=cone.limit_check, 
scale=norm(cdp.pivot_CoM), inc=inc)
-        stitch_cone_to_edge(mol=mol, cone=cone, dome_start=cone_start_atom, 
edge_start=cap_start_atom+1, inc=inc)
+        generate_vector_dist(mol=mol, res_name='CON', res_num=3, 
centre=cdp.pivot_point, R=R, limit_check=cone_obj.limit_check, 
scale=norm(cdp.pivot_CoM), inc=inc)
+        stitch_cone_to_edge(mol=mol, cone_obj=cone_obj, 
dome_start=cone_start_atom, edge_start=cap_start_atom+1, inc=inc)
 
     # Create the PDB file.
     print("\nGenerating the PDB file.")




Related Messages


Powered by MHonArc, Updated Wed May 28 10:40:03 2014