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
1dd4412b
Commit
1dd4412b
authored
Sep 23, 2015
by
Jerome Mariette
Browse files
No commit message
No commit message
parent
0a58511f
Changes
1
Hide whitespace changes
Inline
Side-by-side
bin/jflow_cli.py
View file @
1dd4412b
...
...
@@ -160,9 +160,9 @@ if __name__ == '__main__':
inputs
.
append
(
gr
.
node_attributes
(
node
)[
1
])
elif
Workflow
.
COMPONENT_GRAPH_LABEL
in
gr
.
node_attributes
(
node
):
components
.
append
(
gr
.
node_attributes
(
node
)[
1
])
print
"inputs: "
,
inputs
print
"components: "
,
components
print
"edges: "
,
gr
.
edges
()
print
((
"inputs: "
,
inputs
))
print
((
"components: "
,
components
))
print
((
"edges: "
,
gr
.
edges
()
))
elif
args
[
"cmd_object"
]
==
"status"
:
if
args
[
"workflow_id"
]:
...
...
@@ -170,7 +170,7 @@ if __name__ == '__main__':
workflow
=
wfmanager
.
get_workflow
(
args
[
"workflow_id"
])
except
Exception
as
e
:
utils
.
display_error_message
(
str
(
e
))
print
Workflow
.
get_status_under_text_format
(
workflow
,
True
,
args
[
"display_errors"
])
print
((
Workflow
.
get_status_under_text_format
(
workflow
,
True
,
args
[
"display_errors"
])
))
else
:
try
:
workflows
=
wfmanager
.
get_workflows
(
use_cache
=
True
)
...
...
@@ -187,5 +187,5 @@ if __name__ == '__main__':
status
+=
Workflow
.
get_status_under_text_format
(
workflows_by_id
[
wfid
])
if
i
<
len
(
workflows
)
-
1
:
status
+=
"
\n
"
else
:
status
=
"no workflow available"
print
status
print
(
status
)
\ No newline at end of file
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