mailr14035 - in /branches/gui_testing: ./ auto_analyses/


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

Header


Content

Posted by edward on August 01, 2011 - 16:44:
Author: bugman
Date: Mon Aug  1 16:44:07 2011
New Revision: 14035

URL: http://svn.gna.org/viewcvs/relax?rev=14035&view=rev
Log:
The auto-analyses status objects now have a completion flag 'fin' to indicate 
if the analysis is complete.


Modified:
    branches/gui_testing/auto_analyses/dauvergne_protocol.py
    branches/gui_testing/auto_analyses/noe.py
    branches/gui_testing/auto_analyses/relax_fit.py
    branches/gui_testing/auto_analyses/stereochem_analysis.py
    branches/gui_testing/status.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=14035&r1=14034&r2=14035&view=diff
==============================================================================
--- branches/gui_testing/auto_analyses/dauvergne_protocol.py (original)
+++ branches/gui_testing/auto_analyses/dauvergne_protocol.py Mon Aug  1 
16:44:07 2011
@@ -198,7 +198,8 @@
         try:
             self.execute()
         finally:
-            # Unlock execution.
+            # Finish and unlock execution.
+            status.auto_analysis[self.pipe_name].fin = True
             status.exec_lock.release()
 
 

Modified: branches/gui_testing/auto_analyses/noe.py
URL: 
http://svn.gna.org/viewcvs/relax/branches/gui_testing/auto_analyses/noe.py?rev=14035&r1=14034&r2=14035&view=diff
==============================================================================
--- branches/gui_testing/auto_analyses/noe.py (original)
+++ branches/gui_testing/auto_analyses/noe.py Mon Aug  1 16:44:07 2011
@@ -86,7 +86,8 @@
         # Execute.
         self.run()
 
-        # Unlock execution.
+        # Finish and unlock execution.
+        status.auto_analysis[self.pipe_name].fin = True
         status.exec_lock.release()
 
 

Modified: branches/gui_testing/auto_analyses/relax_fit.py
URL: 
http://svn.gna.org/viewcvs/relax/branches/gui_testing/auto_analyses/relax_fit.py?rev=14035&r1=14034&r2=14035&view=diff
==============================================================================
--- branches/gui_testing/auto_analyses/relax_fit.py (original)
+++ branches/gui_testing/auto_analyses/relax_fit.py Mon Aug  1 16:44:07 2011
@@ -89,7 +89,8 @@
         # Execute.
         self.run()
 
-        # Unlock execution.
+        # Finish and unlock execution.
+        status.auto_analysis[self.pipe_name].fin = True
         status.exec_lock.release()
 
 

Modified: branches/gui_testing/auto_analyses/stereochem_analysis.py
URL: 
http://svn.gna.org/viewcvs/relax/branches/gui_testing/auto_analyses/stereochem_analysis.py?rev=14035&r1=14034&r2=14035&view=diff
==============================================================================
--- branches/gui_testing/auto_analyses/stereochem_analysis.py (original)
+++ branches/gui_testing/auto_analyses/stereochem_analysis.py Mon Aug  1 
16:44:07 2011
@@ -190,7 +190,8 @@
         if self.log:
             mkdir_nofail(self.results_dir + sep + "logs")
 
-        # Unlock execution.
+        # Finish and unlock execution.
+        status.auto_analysis[self.pipe_name].fin = True
         status.exec_lock.release()
 
 

Modified: branches/gui_testing/status.py
URL: 
http://svn.gna.org/viewcvs/relax/branches/gui_testing/status.py?rev=14035&r1=14034&r2=14035&view=diff
==============================================================================
--- branches/gui_testing/status.py (original)
+++ branches/gui_testing/status.py Mon Aug  1 16:44:07 2011
@@ -120,6 +120,9 @@
 
         # Store the analysis type.
         self.auto_analysis[name].type = type
+
+        # The completion flag.
+        self.auto_analysis[name].fin = False
 
         # The Monte Carlo simulation status, if used.
         self.auto_analysis[name].mc_number = None




Related Messages


Powered by MHonArc, Updated Mon Aug 01 17:00:02 2011