mailr13896 - /branches/gui_testing/auto_analyses/dauvergne_protocol.py


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

Header


Content

Posted by edward on July 26, 2011 - 18:01:
Author: bugman
Date: Tue Jul 26 18:01:58 2011
New Revision: 13896

URL: http://svn.gna.org/viewcvs/relax?rev=13896&view=rev
Log:
Fix for the relaxation data check in the dauvergne_protocol auto-analysis.


Modified:
    branches/gui_testing/auto_analyses/dauvergne_protocol.py

Modified: branches/gui_testing/auto_analyses/dauvergne_protocol.py
URL: 
http://svn.gna.org/viewcvs/relax/branches/gui_testing/auto_analyses/dauvergne_protocol.py?rev=13896&r1=13895&r2=13896&view=diff
==============================================================================
--- branches/gui_testing/auto_analyses/dauvergne_protocol.py (original)
+++ branches/gui_testing/auto_analyses/dauvergne_protocol.py Tue Jul 26 
18:01:58 2011
@@ -229,7 +229,7 @@
             raise RelaxNoSequenceError(self.pipe_name)
 
         # Relaxation data.
-        if not hasattr(cdp, 'ri_ids') or ri_id not in cdp.ri_ids:
+        if not hasattr(cdp, 'ri_ids') or len(cdp.ri_ids) == 0:
             raise RelaxNoRiError(ri_id)
 
         # Insufficient data.




Related Messages


Powered by MHonArc, Updated Tue Jul 26 18:20:02 2011