Author: bugman Date: Fri Oct 26 18:32:16 2007 New Revision: 3378 URL: http://svn.gna.org/viewcvs/relax?rev=3378&view=rev Log: Application of a patch by Seb that corrects a typo. The patch 'patch_1.2-r3375_consistency_branch__typo' by Sebastien Morin (sebastien dot morin dot 1 at ulaval dot ca) corrects a typo in function 'set()' of file 'specific_fns/consistency_tests.py' where 'csa' was written twice instead of first 'csa' and then 'r'. This change follows the one at : http://svn.gna.org/viewcvs/relax/1.2/specific_fns/jw_mapping.py?rev=3348&r1=3343&r2=3348 for jw_mapping from which the code for consistency tests originated. This was first reported for the jw_mapping code (bug #9562, https://gna.org/bugs/?9562). 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=3378&r1=3377&r2=3378&view=diff ============================================================================== --- branches/consistency_tests_1.2/specific_fns/consistency_tests.py (original) +++ branches/consistency_tests_1.2/specific_fns/consistency_tests.py Fri Oct 26 18:32:16 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') or not hasattr(self.relax.data.res[self.run][index], 'orientation') or not hasattr(self.relax.data.res[self.run][index], 'tc'): + if not hasattr(self.relax.data.res[self.run][index], 'csa') or not hasattr(self.relax.data.res[self.run][index], 'r') 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.