Author: tlinnet
Date: Tue May 20 01:47:34 2014
New Revision: 23248

URL: http://svn.gna.org/viewcvs/relax?rev=23248&view=rev
Log:
Turned of processor.run_queue() when using calc().

task #7793: (https://gna.org/task/?7793) Speed-up of dispersion models.

A weird behaviour was found when running the test-suite.

Somehow, queued jobs from the last test suite was not flushed and done.
Running the test-suite gave errors on almost all tests.

Inspecting systemtest which only used calc() for the dispersion API, showed 
that no jobs was queued
in the calculate() method, and the call to processor.run_queue(), was turned 
off, solving the problem.

Modified:
    branches/disp_speed/pipe_control/minimise.py

Modified: branches/disp_speed/pipe_control/minimise.py
URL: 
http://svn.gna.org/viewcvs/relax/branches/disp_speed/pipe_control/minimise.py?rev=23248&r1=23247&r2=23248&view=diff
==============================================================================
--- branches/disp_speed/pipe_control/minimise.py        (original)
+++ branches/disp_speed/pipe_control/minimise.py        Tue May 20 01:47:34 2014
@@ -80,7 +80,8 @@
         api.calculate(verbosity=verbosity)
 
     # Execute any queued commands.
-    processor.run_queue()
+    # No processes has been queued in the calc function().
+    #processor.run_queue()
 
 
 def grid_search(lower=None, upper=None, inc=None, constraints=True, 
verbosity=1):


_______________________________________________
relax (http://www.nmr-relax.com)

This is the relax-commits mailing list
relax-commits@gna.org

To unsubscribe from this list, get a password
reminder, or change your subscription options,
visit the list information page at
https://mail.gna.org/listinfo/relax-commits

Reply via email to