mailr17032 - /branches/interatomic/specific_fns/api_base.py


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

Header


Content

Posted by edward on June 22, 2012 - 16:47:
Author: bugman
Date: Fri Jun 22 16:47:44 2012
New Revision: 17032

URL: http://svn.gna.org/viewcvs/relax?rev=17032&view=rev
Log:
The specific API base skip_function() method now returns False.

This was previously raising a RelaxImplementError, but as Monte Carlo 
simulations now require this
function, but returning always False, all analyses will be automatically 
supported.


Modified:
    branches/interatomic/specific_fns/api_base.py

Modified: branches/interatomic/specific_fns/api_base.py
URL: 
http://svn.gna.org/viewcvs/relax/branches/interatomic/specific_fns/api_base.py?rev=17032&r1=17031&r2=17032&view=diff
==============================================================================
--- branches/interatomic/specific_fns/api_base.py (original)
+++ branches/interatomic/specific_fns/api_base.py Fri Jun 22 16:47:44 2012
@@ -764,8 +764,8 @@
         @rtype:             bool
         """
 
-        # Not implemented.
-        raise RelaxImplementError('skip_function')
+        # Never skip.
+        return False
 
 
     def test_grid_ops(self, lower=None, upper=None, inc=None, n=None):




Related Messages


Powered by MHonArc, Updated Fri Jun 22 17:00:02 2012