mailr27240 - /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 January 20, 2015 - 14:54:
Author: bugman
Date: Tue Jan 20 14:54:07 2015
New Revision: 27240

URL: http://svn.gna.org/viewcvs/relax?rev=27240&view=rev
Log:
Fix for the frame order auto-analysis when only the 'rigid' model is 
optimised.

The final summary table printout for the number of Sobol' points used was 
failing as there were no
models in the table.  The table is now only printed out if non rigid models 
are present in the model
list.


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=27240&r1=27239&r2=27240&view=diff
==============================================================================
--- branches/frame_order_cleanup/auto_analyses/frame_order.py   (original)
+++ branches/frame_order_cleanup/auto_analyses/frame_order.py   Tue Jan 20 
14:54:07 2015
@@ -521,7 +521,13 @@
                 self.interpreter.state.save('final_state', 
dir=self.results_dir, force=True)
 
             # Count the number of Sobol' points and create a summary file.
-            count_sobol_points(dir=self.results_dir, force=True)
+            count = False
+            for model in self.models:
+                if model != MODEL_RIGID:
+                    count = True
+                    break
+            if count:
+                count_sobol_points(dir=self.results_dir, force=True)
             summarise(dir=self.results_dir, force=True)
 
         # Clean up.




Related Messages


Powered by MHonArc, Updated Tue Jan 20 15:20:01 2015