Author: bugman Date: Mon Apr 7 14:40:51 2008 New Revision: 5360 URL: http://svn.gna.org/viewcvs/relax?rev=5360&view=rev Log: Fixed a test for the presence of structural data in the current data pipe. Modified: 1.3/generic_fns/structure/mass.py Modified: 1.3/generic_fns/structure/mass.py URL: http://svn.gna.org/viewcvs/relax/1.3/generic_fns/structure/mass.py?rev=5360&r1=5359&r2=5360&view=diff ============================================================================== --- 1.3/generic_fns/structure/mass.py (original) +++ 1.3/generic_fns/structure/mass.py Mon Apr 7 14:40:51 2008 @@ -45,7 +45,7 @@ cdp = relax_data_store[relax_data_store.current_pipe] # Test if a structure has been loaded. - if not hasattr(cdp.structure, 'structures'): + if not hasattr(cdp, 'structure'): raise RelaxNoPdbError # Print out.