mailr6606 - /1.3/generic_fns/structure/geometric.py


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

Header


Content

Posted by sebastien . morin . 1 on July 03, 2008 - 00:07:
Author: semor
Date: Wed Jul  2 23:51:01 2008
New Revision: 6606

URL: http://svn.gna.org/viewcvs/relax?rev=6606&view=rev
Log:
Corrected a test for the loading of a PDB.

This is one step towards the structure.create_diff_tensor_pdb() function 
working.


Modified:
    1.3/generic_fns/structure/geometric.py

Modified: 1.3/generic_fns/structure/geometric.py
URL: 
http://svn.gna.org/viewcvs/relax/1.3/generic_fns/structure/geometric.py?rev=6606&r1=6605&r2=6606&view=diff
==============================================================================
--- 1.3/generic_fns/structure/geometric.py (original)
+++ 1.3/generic_fns/structure/geometric.py Wed Jul  2 23:51:01 2008
@@ -193,7 +193,7 @@
             raise RelaxNoTensorError, 'diffusion'
 
         # Test if a structure has been loaded.
-        if not hasattr(cdp.structure, 'structures'):
+        if not hasattr(cdp, 'structure'):
             raise RelaxNoPdbError
 
         # Test if sequence data is loaded.




Related Messages


Powered by MHonArc, Updated Thu Jul 03 00:20:30 2008