Author: bugman Date: Wed Aug 9 07:48:36 2006 New Revision: 2530 URL: http://svn.gna.org/viewcvs/relax?rev=2530&view=rev Log: Fix for the RelaxInfError and RelaxNaNError.
Modified: branches/nan_catch_test/specific_fns/model_free.py Modified: branches/nan_catch_test/specific_fns/model_free.py URL: http://svn.gna.org/viewcvs/relax/branches/nan_catch_test/specific_fns/model_free.py?rev=2530&r1=2529&r2=2530&view=diff ============================================================================== --- branches/nan_catch_test/specific_fns/model_free.py (original) +++ branches/nan_catch_test/specific_fns/model_free.py Wed Aug 9 07:48:36 2006 @@ -2376,11 +2376,11 @@ # Catch infinite chi-squared values. if self.func == float('inf'): - raise RelaxInfError + raise RelaxInfError, 'chi-squared' # Catch chi-squared values of NaN. if isnan(self.func): - raise RelaxNaNError + raise RelaxNaNError, 'chi-squared' # Scaling. if scaling: _______________________________________________ relax (http://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