#!/usr/bin/python
+from __future__ import print_function
+
__docformat__ = "restructuredtext en"
import subprocess
#Standard output handling
else:
- print 'Sequence line:', line
+ print('Sequence line:', line)
mo = s_seq_folder.search(line)
conf_info.bustard_path = line[mo.end():]
conf_info.run_path, temp = os.path.split(conf_info.bustard_path)
stdout=fout,
stderr=ferr)
- print "Configuring pipeline: %s" % (time.ctime())
+ print("Configuring pipeline: %s" % (time.ctime()))
error_code = pipe.wait()
# Clean up
# 1) The stdout completed without error
# 2) The program exited with status 0
# 3) No errors found in stdout
- print '#Expect: True, False, True, True'
- print complete, bool(error_code), abort != RUN_ABORT, stderr_success is True
+ print('#Expect: True, False, True, True')
+ print(complete, bool(error_code), abort != RUN_ABORT, stderr_success is True)
status = complete is True and \
bool(error_code) is False and \
abort != RUN_ABORT and \
ferr.close()
# Finished file check!
- print 'RUN SUCCESS CHECK:'
+ print('RUN SUCCESS CHECK:')
for key, value in event.run_status_dict.items():
- print ' %s: %s' % (key, value)
+ print(' %s: %s' % (key, value))
dstatus = event.run_status_dict