Author: bugman Date: Sun Nov 25 22:23:36 2007 New Revision: 3972 URL: http://svn.gna.org/viewcvs/relax?rev=3972&view=rev Log: The last commit, which was supposed to be a bug fix, actually introduced a bug instead!
Modified: 1.3/generic_fns/diffusion_tensor.py Modified: 1.3/generic_fns/diffusion_tensor.py URL: http://svn.gna.org/viewcvs/relax/1.3/generic_fns/diffusion_tensor.py?rev=3972&r1=3971&r2=3972&view=diff ============================================================================== --- 1.3/generic_fns/diffusion_tensor.py (original) +++ 1.3/generic_fns/diffusion_tensor.py Sun Nov 25 22:23:36 2007 @@ -128,8 +128,8 @@ pipes.test(relax_data_store.current_pipe) # Test if diffusion tensor data exists. - if diff_data_exists(): - raise RelaxTensorError + if not diff_data_exists(): + raise RelaxNoTensorError # Delete the diffusion data. del(relax_data_store[relax_data_store.current_pipe].diff_tensor) _______________________________________________ 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