mailr14422 - /1.3/multi/processor.py


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

Header


Content

Posted by edward on August 24, 2011 - 13:28:
Author: bugman
Date: Wed Aug 24 13:28:58 2011
New Revision: 14422

URL: http://svn.gna.org/viewcvs/relax?rev=14422&view=rev
Log:
Fix for the multi-processor code as the PrependOut class has been renamed to 
IO_filter.


Modified:
    1.3/multi/processor.py

Modified: 1.3/multi/processor.py
URL: 
http://svn.gna.org/viewcvs/relax/1.3/multi/processor.py?rev=14422&r1=14421&r2=14422&view=diff
==============================================================================
--- 1.3/multi/processor.py (original)
+++ 1.3/multi/processor.py Wed Aug 24 13:28:58 2011
@@ -103,7 +103,7 @@
 import traceback, textwrap
 
 # relax module imports.
-from multi.processor_io import PrependStringIO, PrependOut
+from multi.processor_io import PrependStringIO, IO_filter
 from relax_errors import RelaxError
 
 
@@ -788,9 +788,9 @@
 
         # The master processor.
         if self.rank() == 0:
-            stdout_capture = PrependOut(pre_strings[0], sys.stdout)
+            stdout_capture = IO_filter(pre_strings[0], sys.stdout)
             #FIXME: seems to be that writing to stderr results leads to 
incorrect serialisation of output
-            stderr_capture = PrependOut(pre_strings[1], sys.stderr)
+            stderr_capture = IO_filter(pre_strings[1], sys.stderr)
 
         # The slaves.
         else:




Related Messages


Powered by MHonArc, Updated Wed Aug 24 13:40:03 2011