mailr5360 - /1.3/generic_fns/structure/mass.py


Others Months | Index by Date | Thread Index
>>   [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Header


Content

Posted by edward on April 07, 2008 - 14:40:
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.




Related Messages


Powered by MHonArc, Updated Mon Apr 07 15:00:20 2008