mailr13656 - in /branches/gui_testing: ./ generic_fns/mol_res_spin.py


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

Header


Content

Posted by edward on July 15, 2011 - 16:39:
Author: bugman
Date: Fri Jul 15 16:39:12 2011
New Revision: 13656

URL: http://svn.gna.org/viewcvs/relax?rev=13656&view=rev
Log:
Merged revisions 13655 via svnmerge from 
svn+ssh://bugman@xxxxxxxxxxx/svn/relax/1.3

........
  r13655 | bugman | 2011-07-15 16:37:34 +0200 (Fri, 15 Jul 2011) | 3 lines
  
  Bug fix for the atomic position check in the spin.create_pseudo user 
function.
........

Modified:
    branches/gui_testing/   (props changed)
    branches/gui_testing/generic_fns/mol_res_spin.py

Propchange: branches/gui_testing/
------------------------------------------------------------------------------
--- svnmerge-integrated (original)
+++ svnmerge-integrated Fri Jul 15 16:39:12 2011
@@ -1,1 +1,1 @@
-/1.3:1-13641
+/1.3:1-13655

Modified: branches/gui_testing/generic_fns/mol_res_spin.py
URL: 
http://svn.gna.org/viewcvs/relax/branches/gui_testing/generic_fns/mol_res_spin.py?rev=13656&r1=13655&r2=13656&view=diff
==============================================================================
--- branches/gui_testing/generic_fns/mol_res_spin.py (original)
+++ branches/gui_testing/generic_fns/mol_res_spin.py Fri Jul 15 16:39:12 2011
@@ -996,7 +996,7 @@
             raise RelaxNoSpinError(atom)
 
         # Test the position.
-        if not hasattr(spin, 'pos') or not spin.pos:
+        if not hasattr(spin, 'pos') or spin.pos == None:
             raise RelaxError("Positional information is not available for 
the atom '%s'." % atom)
 
         # Store the position.




Related Messages


Powered by MHonArc, Updated Fri Jul 15 19:00:02 2011