Author: bugman Date: Tue Jul 3 10:33:35 2012 New Revision: 17150 URL: http://svn.gna.org/viewcvs/relax?rev=17150&view=rev Log: Small fix for the Relax_data_store._back_compat_hook() method. Modified: branches/interatomic/data/__init__.py Modified: branches/interatomic/data/__init__.py URL: http://svn.gna.org/viewcvs/relax/branches/interatomic/data/__init__.py?rev=17150&r1=17149&r2=17150&view=diff ============================================================================== --- branches/interatomic/data/__init__.py (original) +++ branches/interatomic/data/__init__.py Tue Jul 3 10:33:35 2012 @@ -221,7 +221,7 @@ spin.name = 'C' # An attached proton - convert into a spin container. - if hasattr(spin, 'attached_proton'): + if hasattr(spin, 'attached_proton') and spin.attached_proton != None: # Create a new spin container for the proton, then set up a dipole interaction between the two spins. h_spin = generic_fns.mol_res_spin.create_spin(mol_name=mol.name, res_num=res.num, res_name=res.name, spin_name=spin.attached_proton) h_spin.select = False