mailr3345 - /1.3/specific_fns/jw_mapping.py


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

Header


Content

Posted by edward on July 22, 2007 - 18:20:
Author: bugman
Date: Sun Jul 22 18:19:33 2007
New Revision: 3345

URL: http://svn.gna.org/viewcvs/relax?rev=3345&view=rev
Log:
Fix for bug #9562 (http://gna.org/bugs/?9562).

This bug was reported and fixed by Sebastien Morin (sebastien dot morin dot 1 
at ulaval dot ca) by
the patch 'patch__specific_fns__jw_mapping__l1.3_r3342' attached to the bug 
report.

In the 1.3 line, revision 3342, there is a typo in the 'set()' function of 
the file
'specific_fns/jw_mapping.py'.  The string 'csa' is used twice on line 398.  
The string 'csa' should
be used first and, then, the string 'r'.


Modified:
    1.3/specific_fns/jw_mapping.py

Modified: 1.3/specific_fns/jw_mapping.py
URL: 
http://svn.gna.org/viewcvs/relax/1.3/specific_fns/jw_mapping.py?rev=3345&r1=3344&r2=3345&view=diff
==============================================================================
--- 1.3/specific_fns/jw_mapping.py (original)
+++ 1.3/specific_fns/jw_mapping.py Sun Jul 22 18:19:33 2007
@@ -395,7 +395,7 @@
                 value.append(self.default_value('r'))
 
             # Initilise data.
-            if not hasattr(relax_data_store.res[self.run][index], 'csa') or 
not hasattr(relax_data_store.res[self.run][index], 'csa'):
+            if not hasattr(relax_data_store.res[self.run][index], 'csa') or 
not hasattr(relax_data_store.res[self.run][index], 'r'):
                 self.data_init(relax_data_store.res[self.run][index])
 
             # CSA and Bond length.




Related Messages


Powered by MHonArc, Updated Sun Jul 22 18:40:05 2007