mailr5048 - /branches/N_state_model/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 20, 2008 - 14:40:
Author: bugman
Date: Wed Feb 20 14:39:59 2008
New Revision: 5048

URL: http://svn.gna.org/viewcvs/relax?rev=5048&view=rev
Log:
Added code to the cone_pdb() function to generate the outer part of the cone 
PDB object.


Modified:
    branches/N_state_model/specific_fns/n_state_model.py

Modified: branches/N_state_model/specific_fns/n_state_model.py
URL: 
http://svn.gna.org/viewcvs/relax/branches/N_state_model/specific_fns/n_state_model.py?rev=5048&r1=5047&r2=5048&view=diff
==============================================================================
--- branches/N_state_model/specific_fns/n_state_model.py (original)
+++ branches/N_state_model/specific_fns/n_state_model.py Wed Feb 20 14:39:59 
2008
@@ -202,6 +202,15 @@
 
         # Add the pivot point.
         generic_fns.structure.atom_add(atomic_data=atomic_data, atom_id='R', 
record_name='HETATM', atom_name='R', res_name='PIV', res_num=1, 
pos=cdp.pivot_point, element='C')
+
+        # The number of increments for the filling of the cone objects.
+        inc = 20
+
+        # Generate the average pivot-CoM vectors.
+        sim_vectors = None
+        if hasattr(cdp, 'red_CoM_sim'):
+            sim_vectors = cdp.red_CoM_sim
+        res_num = 
generic_fns.structure.generate_vector_residues(atomic_data=atomic_data, 
vector=cdp.red_CoM, atom_name='Cone', res_name_vect='CON', 
sim_vectors=sim_vectors, res_num=2, origin=cdp.pivot_point, scale=scale)
 
         print `atomic_data`
 




Related Messages


Powered by MHonArc, Updated Wed Feb 20 14:40:43 2008