mailTypo in specific_fns/jw_mapping.py


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

Header


Content

Posted by Sébastien Morin on July 19, 2007 - 16:33:
Hi

Here is a small patch (patch__jw_mapping__l1.2_r3342) correcting a typo in the
file 'specific_fns/jw_mapping.py' where the string 'csa' was used instead of
'r'. Also, some trailing whitespaces at line 249 are deleted for better
formating.

Cheers


Séb  :)
Index: specific_fns/jw_mapping.py
===================================================================
--- specific_fns/jw_mapping.py  (revision 3342)
+++ specific_fns/jw_mapping.py  (working copy)
@@ -246,7 +246,7 @@
 
         # Loop over residue data:
         for residue in self.relax.data.res[run]:
-    
+
             # Check for sufficient data
             if not hasattr(residue, 'relax_data'):
                 residue.select = 0
@@ -388,7 +388,7 @@
                 value.append(self.default_value('r'))
 
             # 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], 'r'):
                 self.data_init(self.relax.data.res[self.run][index])
 
             # CSA and Bond length.

Related Messages


Powered by MHonArc, Updated Sun Jul 22 18:20:54 2007