Author: bugman Date: Sun Jul 22 18:40:53 2007 New Revision: 3350 URL: http://svn.gna.org/viewcvs/relax?rev=3350&view=rev Log: Application of Seb's patch 'patch_consistency_tests__l1.2_r3342-1-a'. The patch is located at https://mail.gna.org/public/relax-devel/2007-07/msg00059.html. The patch 'patch_consistency_tests__l1.2_r3342-1-a' fixes missing variables ('orientation' and 'tc') in the 'set()' function in the file 'specific_fns/consistency_tests.py'. Modified: branches/consistency_tests_1.2/specific_fns/consistency_tests.py Modified: branches/consistency_tests_1.2/specific_fns/consistency_tests.py URL: http://svn.gna.org/viewcvs/relax/branches/consistency_tests_1.2/specific_fns/consistency_tests.py?rev=3350&r1=3349&r2=3350&view=diff ============================================================================== --- branches/consistency_tests_1.2/specific_fns/consistency_tests.py (original) +++ branches/consistency_tests_1.2/specific_fns/consistency_tests.py Sun Jul 22 18:40:53 2007 @@ -447,7 +447,7 @@ value.append(self.default_value('tc')) # Initilise data. - if not hasattr(self.relax.data.res[self.run][index], 'csa') or not hasattr(self.relax.data.res[self.run][index], 'csa'): + if not hasattr(self.relax.data.res[self.run][index], 'csa') or not hasattr(self.relax.data.res[self.run][index], 'csa') or not hasattr(self.relax.data.res[self.run][index], 'orientation') or not hasattr(self.relax.data.res[self.run][index], 'tc'): self.data_init(self.relax.data.res[self.run][index]) # CSA, bond length, angle Theta and correlation time.