mailr20738 - /trunk/specific_analyses/model_free/mf_minimise.py


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

Header


Content

Posted by edward on September 02, 2013 - 11:18:
Author: bugman
Date: Mon Sep  2 11:18:33 2013
New Revision: 20738

URL: http://svn.gna.org/viewcvs/relax?rev=20738&view=rev
Log:
The model-free optimisation code now handles minfx returning nothing.

This is due to the fix of bug #21001 (https://gna.org/bugs/?21001) in relax, 
which is really a fix
for an upstream minfx (https://gna.org/projects/minfx/) bug (bug #21090 at
https://gna.org/bugs/?21090).


Modified:
    trunk/specific_analyses/model_free/mf_minimise.py

Modified: trunk/specific_analyses/model_free/mf_minimise.py
URL: 
http://svn.gna.org/viewcvs/relax/trunk/specific_analyses/model_free/mf_minimise.py?rev=20738&r1=20737&r2=20738&view=diff
==============================================================================
--- trunk/specific_analyses/model_free/mf_minimise.py (original)
+++ trunk/specific_analyses/model_free/mf_minimise.py Mon Sep  2 11:18:33 2013
@@ -322,6 +322,10 @@
         @keyword scaling_matrix:    The diagonal, square scaling matrix.
         @type scaling_matrix:       numpy diagonal matrix
         """
+
+        # No result.
+        if param_vector == None:
+            return
 
         # Alias the current data pipe.
         cdp = pipes.get_pipe()




Related Messages


Powered by MHonArc, Updated Mon Sep 02 11:40:01 2013