Skip to content
GitLab
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
888f7f0a
Commit
888f7f0a
authored
Aug 06, 2014
by
Frédéric Escudié
Browse files
No commit message
No commit message
parent
f7002fca
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/jflow/workflow.py
View file @
888f7f0a
...
...
@@ -80,6 +80,7 @@ class Workflow(threading.Thread):
self
.
start_time
=
None
self
.
end_time
=
None
self
.
step
=
None
self
.
stderr
=
None
self
.
dynamic_component_present
=
False
self
.
function
=
function
self
.
parameters_section
=
parameters_section
...
...
@@ -108,7 +109,7 @@ class Workflow(threading.Thread):
self
.
directory
=
self
.
manager
.
get_workflow_directory
(
self
.
name
,
self
.
id
)
if
not
os
.
path
.
isdir
(
self
.
directory
):
os
.
makedirs
(
self
.
directory
,
0751
)
if
not
hasattr
(
self
,
"stderr"
)
or
self
.
stderr
is
None
:
if
self
.
stderr
is
None
:
self
.
set_stderr
()
self
.
_serialize
()
...
...
@@ -592,7 +593,7 @@ class Workflow(threading.Thread):
elif
n
.
state
==
Node
.
COMPLETED
:
status
[
"completed"
]
+=
1
except
:
pass
return
status
return
status
def
makeflow_pretty_print_node
(
self
,
dag
,
node
):
sys
.
stdout
.
write
(
'{0:>10} {1} {2}
\n
'
.
format
(
'NODE'
,
node
.
id
,
node
.
symbol
))
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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