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.


_______________________________________________
relax (http://www.nmr-relax.com)

This is the relax-commits mailing list
relax-commits@gna.org

To unsubscribe from this list, get a password
reminder, or change your subscription options,
visit the list information page at
https://mail.gna.org/listinfo/relax-commits

Reply via email to