Author: bugman Date: Wed Oct 1 14:07:54 2008 New Revision: 7480 URL: http://svn.gna.org/viewcvs/relax?rev=7480&view=rev Log: Fix for model_setup(), again bad usage of the relax data store. Modified: branches/pipe_refs/specific_fns/model_free/main.py Modified: branches/pipe_refs/specific_fns/model_free/main.py URL: http://svn.gna.org/viewcvs/relax/branches/pipe_refs/specific_fns/model_free/main.py?rev=7480&r1=7479&r2=7480&view=diff ============================================================================== --- branches/pipe_refs/specific_fns/model_free/main.py (original) +++ branches/pipe_refs/specific_fns/model_free/main.py Wed Oct 1 14:07:54 2008 @@ -1684,7 +1684,7 @@ # Test that no diffusion tensor exists if local tm is a parameter in the model. for param in params: - if param == 'local_tm' and hasattr(ds, 'diff_tensor'): + if param == 'local_tm' and hasattr(pipes.get_pipe(), 'diff_tensor'): raise RelaxTensorError, 'diffusion' # Loop over the sequence.