mailr8934 - /branches/bmrb/generic_fns/mol_res_spin.py


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

Header


Content

Posted by edward on March 08, 2009 - 23:38:
Author: bugman
Date: Sun Mar  8 23:38:36 2009
New Revision: 8934

URL: http://svn.gna.org/viewcvs/relax?rev=8934&view=rev
Log:
Simplified the bmrb_read() function.


Modified:
    branches/bmrb/generic_fns/mol_res_spin.py

Modified: branches/bmrb/generic_fns/mol_res_spin.py
URL: 
http://svn.gna.org/viewcvs/relax/branches/bmrb/generic_fns/mol_res_spin.py?rev=8934&r1=8933&r2=8934&view=diff
==============================================================================
--- branches/bmrb/generic_fns/mol_res_spin.py (original)
+++ branches/bmrb/generic_fns/mol_res_spin.py Sun Mar  8 23:38:36 2009
@@ -499,12 +499,9 @@
 
     # Get the entities.
     for mol_name, mol_type, res_nums, res_names in star.entity.loop():
-        # Add the molecule.
-        create_molecule(mol_name)
-
         # Add the residues.
         for i in range(len(res_nums)):
-            create_residue(res_nums[i], res_names[i], mol_id='#'+mol_name)
+            create_residue(res_nums[i], res_names[i], mol_name=mol_name)
 
 
 def bmrb_write_entity(star):




Related Messages


Powered by MHonArc, Updated Mon Mar 09 00:00:08 2009