mailr25723 - /branches/frame_order_cleanup/auto_analyses/frame_order.py


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

Header


Content

Posted by edward on September 09, 2014 - 19:39:
Author: bugman
Date: Tue Sep  9 19:39:36 2014
New Revision: 25723

URL: http://svn.gna.org/viewcvs/relax?rev=25723&view=rev
Log:
Fix for the reading of old results files in the frame order auto-analysis.

The directory name is now processed by the model_directory() method.  This 
will convert the spaces
to '_' and remove commas.  Without this the already created files could not 
be found, if the model
name contains a space or comma.


Modified:
    branches/frame_order_cleanup/auto_analyses/frame_order.py

Modified: branches/frame_order_cleanup/auto_analyses/frame_order.py
URL: 
http://svn.gna.org/viewcvs/relax/branches/frame_order_cleanup/auto_analyses/frame_order.py?rev=25723&r1=25722&r2=25723&view=diff
==============================================================================
--- branches/frame_order_cleanup/auto_analyses/frame_order.py   (original)
+++ branches/frame_order_cleanup/auto_analyses/frame_order.py   Tue Sep  9 
19:39:36 2014
@@ -806,7 +806,7 @@
         """
 
         # The file name.
-        path = self.results_dir + model + sep + 'results.bz2'
+        path = self.model_directory(model) + sep + 'results.bz2'
 
         # The file does not exist.
         if not access(path, F_OK):




Related Messages


Powered by MHonArc, Updated Tue Sep 09 21:20:02 2014