Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Maintenance - Mise à jour mensuelle Lundi 6 Février entre 7h00 et 9h00
Open sidebar
genotoul-bioinfo
jflow
Commits
debc1f59
Commit
debc1f59
authored
Sep 24, 2015
by
Jerome Mariette
Browse files
make the basic command line clean
parent
3afa3927
Changes
1
Hide whitespace changes
Inline
Side-by-side
bin/jflow_cli.py
View file @
debc1f59
...
...
@@ -129,7 +129,11 @@ if __name__ == '__main__':
pgroup
.
add_argument
(
param
.
flag
,
**
param
.
export_to_argparse
())
sub_parser
.
set_defaults
(
cmd_object
=
instance
.
__class__
.
__name__
)
args
=
vars
(
parser
.
parse_args
())
if
not
"cmd_object"
in
args
:
print
(
parser
.
format_help
())
parser
.
exit
(
0
,
""
)
if
args
[
"cmd_object"
]
in
wf_classes
:
wfmanager
.
run_workflow
(
args
[
"cmd_object"
],
args
)
elif
args
[
"cmd_object"
]
==
"rerun"
:
...
...
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