mailr7324 - /1.3/specific_fns/model_free/main.py


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

Header


Content

Posted by edward on September 26, 2008 - 11:59:
Author: bugman
Date: Fri Sep 26 11:59:07 2008
New Revision: 7324

URL: http://svn.gna.org/viewcvs/relax?rev=7324&view=rev
Log:
Fix for the model-free duplicate_data() method for when the data pipe is 
empty.


Modified:
    1.3/specific_fns/model_free/main.py

Modified: 1.3/specific_fns/model_free/main.py
URL: 
http://svn.gna.org/viewcvs/relax/1.3/specific_fns/model_free/main.py?rev=7324&r1=7323&r2=7324&view=diff
==============================================================================
--- 1.3/specific_fns/model_free/main.py (original)
+++ 1.3/specific_fns/model_free/main.py Fri Sep 26 11:59:07 2008
@@ -1028,6 +1028,10 @@
                     # The data must match!
                     if data_from != data_to:
                         raise RelaxError, "The object " + `data_name` + "." 
+ `data_name` + " is not consistent between the pipes " + `pipe_from` + " and 
" + `pipe_to` + "."
+
+        # No sequence data, so skip the rest.
+        if not exists_mol_res_spin_data():
+            return
 
         # Determine the model type.
         model_type = self.determine_model_type()




Related Messages


Powered by MHonArc, Updated Fri Sep 26 12:20:02 2008