Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
genotoul-bioinfo
jflow
Commits
b8e030b5
Commit
b8e030b5
authored
Jun 08, 2015
by
Jerome Mariette
Browse files
No commit message
No commit message
parent
051a23cb
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/jflow/workflow.py
View file @
b8e030b5
...
...
@@ -957,8 +957,8 @@ class Workflow(threading.Thread):
sys
.
stdout
.
write
(
'{0:>10} {1:>10} {2}
\n
'
.
format
(
''
,
'COMMAND'
,
node
.
command
))
def
_set_stderr
(
self
):
if
hasattr
(
self
,
"stderr"
)
and
self
.
stderr
is
not
None
:
os
.
rename
(
self
.
stderr
,
os
.
path
.
join
(
self
.
directory
,
str
(
time
.
time
())
+
self
.
STDERR_FILE_NAME
+
self
.
OLD_EXTENSION
)
)
if
hasattr
(
self
,
"stderr"
)
and
self
.
stderr
is
not
None
and
os
.
path
.
isfile
(
self
.
stderr
)
:
os
.
rename
(
self
.
stderr
,
os
.
path
.
join
(
self
.
directory
,
str
(
time
.
time
())
+
"_"
+
self
.
STDERR_FILE_NAME
+
self
.
OLD_EXTENSION
)
)
stderr
=
os
.
path
.
join
(
self
.
directory
,
self
.
STDERR_FILE_NAME
)
return
stderr
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment