mailr19931 - /branches/relax_disp/specific_analyses/relax_disp/__init__.py


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

Header


Content

Posted by edward on June 07, 2013 - 00:32:
Author: bugman
Date: Fri Jun  7 00:32:24 2013
New Revision: 19931

URL: http://svn.gna.org/viewcvs/relax?rev=19931&view=rev
Log:
Removed the grid search size check from the dispersion _grid_search_setup() 
method.

This is performed by minfx anyway, and the code was incompatible with Python 
3.


Modified:
    branches/relax_disp/specific_analyses/relax_disp/__init__.py

Modified: branches/relax_disp/specific_analyses/relax_disp/__init__.py
URL: 
http://svn.gna.org/viewcvs/relax/branches/relax_disp/specific_analyses/relax_disp/__init__.py?rev=19931&r1=19930&r2=19931&view=diff
==============================================================================
--- branches/relax_disp/specific_analyses/relax_disp/__init__.py (original)
+++ branches/relax_disp/specific_analyses/relax_disp/__init__.py Fri Jun  7 
00:32:24 2013
@@ -406,10 +406,6 @@
         grid_size = 1
         for i in range(n):
             grid_size *= inc[i]
-
-        # Test if the grid is too large.
-        if isinstance(grid_size, long):
-            raise RelaxError("A grid search of size %s is too large." % 
grid_size)
 
         # Diagonal scaling of minimisation options.
         lower_new = []




Related Messages


Powered by MHonArc, Updated Fri Jun 07 00:40:02 2013