Author: bugman Date: Fri Jul 15 16:37:34 2011 New Revision: 13655 URL: http://svn.gna.org/viewcvs/relax?rev=13655&view=rev Log: Bug fix for the atomic position check in the spin.create_pseudo user function. Modified: 1.3/generic_fns/mol_res_spin.py Modified: 1.3/generic_fns/mol_res_spin.py URL: http://svn.gna.org/viewcvs/relax/1.3/generic_fns/mol_res_spin.py?rev=13655&r1=13654&r2=13655&view=diff ============================================================================== --- 1.3/generic_fns/mol_res_spin.py (original) +++ 1.3/generic_fns/mol_res_spin.py Fri Jul 15 16:37:34 2011 @@ -986,7 +986,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.