mailr3316 - /1.2/sample_scripts/full_analysis.py


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

Header


Content

Posted by edward on June 25, 2007 - 14:53:
Author: bugman
Date: Mon Jun 25 14:53:19 2007
New Revision: 3316

URL: http://svn.gna.org/viewcvs/relax?rev=3316&view=rev
Log:
Fix for the previous commit (r3315).

The bug fix was not updated for the 1.2 repository line and was accessing the 
1.3 line specific
structure 'relax_data_store'.  This was reported by Douglas Kojetin <douglas 
dot kojetin att gmail
dot com> in the post 
https://mail.gna.org/public/relax-users/2007-06/msg00011.html (Message-id:
<7DCCD868-014E-4E50-A84D-7F6F36374CE0@xxxxxxxxx>).


Modified:
    1.2/sample_scripts/full_analysis.py

Modified: 1.2/sample_scripts/full_analysis.py
URL: 
http://svn.gna.org/viewcvs/relax/1.2/sample_scripts/full_analysis.py?rev=3316&r1=3315&r2=3316&view=diff
==============================================================================
--- 1.2/sample_scripts/full_analysis.py (original)
+++ 1.2/sample_scripts/full_analysis.py Mon Jun 25 14:53:19 2007
@@ -489,7 +489,7 @@
         """Function for loading the optimised diffusion tensor."""
 
         # Create the run for the previous data (deleting the old run first 
if necessary).
-        if relax_data_store.has_key('previous'):
+        if 'previous' in self.relax.data.runs:
             run.delete('previous')
         run.create('previous', 'mf')
 




Related Messages


Powered by MHonArc, Updated Tue Jun 26 10:00:06 2007