mailr10741 - /1.3/auto_analyses/stereochem_analysis.py


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

Header


Content

Posted by edward on February 18, 2010 - 16:53:
Author: bugman
Date: Thu Feb 18 16:53:13 2010
New Revision: 10741

URL: http://svn.gna.org/viewcvs/relax?rev=10741&view=rev
Log:
STDOUT is now being restored after each stage.

STDOUT was being lost if logging was turned on!


Modified:
    1.3/auto_analyses/stereochem_analysis.py

Modified: 1.3/auto_analyses/stereochem_analysis.py
URL: 
http://svn.gna.org/viewcvs/relax/1.3/auto_analyses/stereochem_analysis.py?rev=10741&r1=10740&r2=10741&view=diff
==============================================================================
--- 1.3/auto_analyses/stereochem_analysis.py (original)
+++ 1.3/auto_analyses/stereochem_analysis.py Thu Feb 18 16:53:13 2010
@@ -138,6 +138,9 @@
         elif self.stage == 5:
             self.grace_plots()
 
+        # Restore STDOUT.
+        sys.stdout = sys.__stdout__
+
 
     def generate_distribution(self, values, lower=0.0, upper=200.0, 
inc=None):
         """Create the distribution data structure."""




Related Messages


Powered by MHonArc, Updated Thu Feb 18 17:20:03 2010