mailRe: r23248 - /branches/disp_speed/pipe_control/minimise.py


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

Header


Content

Posted by Edward d'Auvergne on May 20, 2014 - 10:18:
Hi Troels,

Once bug #22055 (https://gna.org/bugs/?22055) has been fixed, you will
have to revert this commit.  This code is used in the other analysis
types, so it is rather fatal.  It may not be visible in the test suite
though.  The problem is elsewhere
(http://www.mail-archive.com/relax-devel@xxxxxxx/msg05710.html).

Regards,

Edward



On 20 May 2014 01:47,  <tlinnet@xxxxxxxxxxxxx> wrote:
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@xxxxxxx

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



Related Messages


Powered by MHonArc, Updated Tue May 20 10:40:13 2014