mailr19115 - /trunk/pipe_control/structure/internal.py


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

Header


Content

Posted by edward on March 24, 2013 - 16:24:
Author: bugman
Date: Sun Mar 24 16:24:01 2013
New Revision: 19115

URL: http://svn.gna.org/viewcvs/relax?rev=19115&view=rev
Log:
Removed the data pipe checks from the internal structural object.

This decoupling from the relax data store is in preparation for moving into 
the lib.structure
package.


Modified:
    trunk/pipe_control/structure/internal.py

Modified: trunk/pipe_control/structure/internal.py
URL: 
http://svn.gna.org/viewcvs/relax/trunk/pipe_control/structure/internal.py?rev=19115&r1=19114&r2=19115&view=diff
==============================================================================
--- trunk/pipe_control/structure/internal.py (original)
+++ trunk/pipe_control/structure/internal.py Sun Mar 24 16:24:01 2013
@@ -33,7 +33,6 @@
 
 # relax module imports.
 from data_store.relax_xml import fill_object_contents, xml_to_object
-from pipe_control import pipes
 from pipe_control.mol_res_spin import spin_loop
 from pipe_control.mol_res_spin import Selection
 from pipe_control.structure.api_base import Base_struct_API, ModelList, 
Displacements
@@ -1003,9 +1002,6 @@
         @keyword pdb_record:    The optional PDB record name, e.g. 'ATOM' or 
'HETATM'.
         @type pdb_record:       str or None
         """
-
-        # Test if the current data pipe exists.
-        pipes.test()
 
         # Add a model if not present.
         if len(self.structural_data) == 0:
@@ -1395,9 +1391,6 @@
         @type index2:       str
         """
 
-        # Test if the current data pipe exists.
-        pipes.test()
-
         # Add the molecule, if it does not exist.
         if self.get_molecule(mol_name) == None:
             self.add_molecule(name=mol_name)




Related Messages


Powered by MHonArc, Updated Sun Mar 24 16:40:02 2013