mailr3888 - /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 - 20:52:
Author: bugman
Date: Sat Nov 24 20:52:11 2007
New Revision: 3888

URL: http://svn.gna.org/viewcvs/relax?rev=3888&view=rev
Log:
Bug fix for generic_fns.selection.exists_mol_res_spin_data().  No data pipes 
are now handled.


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=3888&r1=3887&r2=3888&view=diff
==============================================================================
--- 1.3/generic_fns/selection.py (original)
+++ 1.3/generic_fns/selection.py Sat Nov 24 20:52:11 2007
@@ -354,6 +354,10 @@
     @rtype:     bool
     """
 
+    # Test that the data pipe exists.
+    if relax_data_store.current_pipe not in relax_data_store.keys():
+        raise RelaxNoPipeError
+
     # Alias the data pipe container.
     cdp = relax_data_store[relax_data_store.current_pipe]
 




Related Messages


Powered by MHonArc, Updated Sat Nov 24 21:00:14 2007