Commit 2d171db5 authored by Jerome Mariette's avatar Jerome Mariette
Browse files

fix a bug

parent 6d13d5d9
......@@ -138,6 +138,7 @@ if __name__ == '__main__':
pgroup = sub_parser.add_argument_group(group)
for param in parameters_groups[group]:
pgroup.add_argument(param.flag, **param.export_to_argparse())
sub_parser.set_defaults(cmd_object=instance.__class__.__name__)
args = vars(parser.parse_args())
if args["cmd_object"] in wf_classes:
......
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