mailr4931 - /1.3/generic_fns/structure.py


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

Header


Content

Posted by edward on February 07, 2008 - 13:41:
Author: bugman
Date: Thu Feb  7 13:41:23 2008
New Revision: 4931

URL: http://svn.gna.org/viewcvs/relax?rev=4931&view=rev
Log:
Bug fix for the generic_fns.structure.vectors() function.

The test for the structure was back to front.


Modified:
    1.3/generic_fns/structure.py

Modified: 1.3/generic_fns/structure.py
URL: 
http://svn.gna.org/viewcvs/relax/1.3/generic_fns/structure.py?rev=4931&r1=4930&r2=4931&view=diff
==============================================================================
--- 1.3/generic_fns/structure.py (original)
+++ 1.3/generic_fns/structure.py Thu Feb  7 13:41:23 2008
@@ -979,7 +979,7 @@
     cdp = relax_data_store[relax_data_store.current_pipe]
 
     # Test if the PDB file has been loaded.
-    if hasattr(cdp, 'structure'):
+    if not hasattr(cdp, 'structure'):
         raise RelaxPdbError
 
     # Test if sequence data is loaded.




Related Messages


Powered by MHonArc, Updated Thu Feb 07 14:00:13 2008