Mercurial > repos > shellac > sam_consensus_v3
comparison env/lib/python3.9/site-packages/planemo/commands/cmd_training_init.py @ 0:4f3585e2f14b draft default tip
"planemo upload commit 60cee0fc7c0cda8592644e1aad72851dec82c959"
author | shellac |
---|---|
date | Mon, 22 Mar 2021 18:12:50 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:4f3585e2f14b |
---|---|
1 """Module describing the planemo ``training_init`` command.""" | |
2 | |
3 import click | |
4 | |
5 from planemo import options | |
6 from planemo.cli import command_function | |
7 from planemo.training import Training | |
8 | |
9 | |
10 @click.command('training_init') | |
11 @options.optional_tools_arg(multiple=True, allow_uris=True) | |
12 @options.training_init_options() | |
13 # @options.force_option() | |
14 @options.galaxy_serve_options() | |
15 @command_function | |
16 def cli(ctx, uris, **kwds): | |
17 """Build training template from workflow.""" | |
18 kwds["no_dependency_resolution"] = True | |
19 training = Training(kwds) | |
20 training.init_training(ctx) |