Author: bugman Date: Mon Jul 7 08:24:59 2008 New Revision: 6785 URL: http://svn.gna.org/viewcvs/relax?rev=6785&view=rev Log: Fix for optimisation requiring the presence of structural data. Modified: 1.3/specific_fns/model_free/mf_minimise.py Modified: 1.3/specific_fns/model_free/mf_minimise.py URL: http://svn.gna.org/viewcvs/relax/1.3/specific_fns/model_free/mf_minimise.py?rev=6785&r1=6784&r2=6785&view=diff ============================================================================== --- 1.3/specific_fns/model_free/mf_minimise.py (original) +++ 1.3/specific_fns/model_free/mf_minimise.py Mon Jul 7 08:24:59 2008 @@ -799,7 +799,7 @@ # Tests for the PDB file and unit vectors. if model_type != 'local_tm' and cdp.diff_tensor.type != 'sphere': # Test if the structure file has been loaded. - if not hasattr(cdp.structure, 'structures'): + if not hasattr(cdp, 'structure'): raise RelaxNoPdbError # Test if unit vectors exist.