mailr13940 - /branches/gui_testing/gui/analyses/results.py


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

Header


Content

Posted by edward on July 28, 2011 - 09:01:
Author: bugman
Date: Thu Jul 28 09:01:21 2011
New Revision: 13940

URL: http://svn.gna.org/viewcvs/relax?rev=13940&view=rev
Log:
The results viewer window no longer fails if relax is still in the initial 
state.


Modified:
    branches/gui_testing/gui/analyses/results.py

Modified: branches/gui_testing/gui/analyses/results.py
URL: 
http://svn.gna.org/viewcvs/relax/branches/gui_testing/gui/analyses/results.py?rev=13940&r1=13939&r2=13940&view=diff
==============================================================================
--- branches/gui_testing/gui/analyses/results.py (original)
+++ branches/gui_testing/gui/analyses/results.py Thu Jul 28 09:01:21 2011
@@ -176,8 +176,7 @@
         page = 
self.gui.analysis.get_page_from_name(gui_to_str(self.analysis_list.GetValue()))
 
         # Nothing to do.
-        if not hasattr(page.data, 'results_list'):
-            print "nothing to do"
+        if not hasattr(page, 'data') or not hasattr(page.data, 
'results_list'):
             return
 
         # Update the list.




Related Messages


Powered by MHonArc, Updated Thu Jul 28 09:40:02 2011