mailr3878 - /1.3/generic_fns/selection.py


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

Header


Content

Posted by edward on November 24, 2007 - 12:21:
Author: bugman
Date: Sat Nov 24 12:17:33 2007
New Revision: 3878

URL: http://svn.gna.org/viewcvs/relax?rev=3878&view=rev
Log:
Added the generic_fns.pipes.test() function to the molecule, residue, and 
spin loop functions.


Modified:
    1.3/generic_fns/selection.py

Modified: 1.3/generic_fns/selection.py
URL: 
http://svn.gna.org/viewcvs/relax/1.3/generic_fns/selection.py?rev=3878&r1=3877&r2=3878&view=diff
==============================================================================
--- 1.3/generic_fns/selection.py (original)
+++ 1.3/generic_fns/selection.py Sat Nov 24 12:17:33 2007
@@ -30,6 +30,7 @@
 from data import Data as relax_data_store
 from data.mol_res_spin import MoleculeContainer, ResidueContainer, 
SpinContainer
 from relax_errors import RelaxError, RelaxNoPipeError, RelaxNoSequenceError, 
RelaxRegExpError, RelaxResSelectDisallowError, RelaxSpinSelectDisallowError
+from generic_fns import pipes
 
 
 id_string_doc = """
@@ -354,6 +355,9 @@
     # The data pipe.
     if pipe == None:
         pipe = relax_data_store.current_pipe
+
+    # Test the data pipe.
+    pipes.test(pipe)
 
     # Parse the selection string.
     select_obj = Selection(selection)
@@ -467,6 +471,9 @@
     # The data pipe.
     if pipe == None:
         pipe = relax_data_store.current_pipe
+
+    # Test the data pipe.
+    pipes.test(pipe)
 
     # Parse the selection string.
     select_obj = Selection(selection)
@@ -987,6 +994,9 @@
     if pipe == None:
         pipe = relax_data_store.current_pipe
 
+    # Test the data pipe.
+    pipes.test(pipe)
+
     # Parse the selection string.
     select_obj = Selection(selection)
 




Related Messages


Powered by MHonArc, Updated Sat Nov 24 12:40:09 2007