Commit 548ab5f1 authored by cnoirot's avatar cnoirot
Browse files

Bug correction

parent 0229c050
......@@ -86,17 +86,6 @@ if __name__ == '__main__':
if not "cmd_object" in args:
print(parser.format_help())
parser.exit(0, "")
if args["cmd_object"] in wf_classes:
try:
workflow = wfmanager.get_workflow_by_class(args["cmd_object"])
workflow.check_parameters_rules(args)
except RuleException as e:
sub_parser.error(e)
except RuleIgnore:
pass
wfmanager.run_workflow(args["cmd_object"], args)
elif args["cmd_object"] == "rerun":
wfmanager.rerun_workflow(args["workflow_id"])
elif args["cmd_object"] == "reset":
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment