Mercurial > repos > shellac > sam_consensus_v3
comparison env/lib/python3.9/site-packages/planemo/commands/cmd_training_fill_data_library.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_fill_data_library`` command.""" | |
2 import click | |
3 | |
4 from planemo import options | |
5 from planemo.cli import command_function | |
6 from planemo.training import Training | |
7 | |
8 | |
9 @click.command('training_fill_data_library') | |
10 @options.optional_tools_arg(multiple=True, allow_uris=True) | |
11 @options.training_fill_data_library_options() | |
12 @command_function | |
13 def cli(ctx, uris, **kwds): | |
14 """Build training template from workflow.""" | |
15 kwds["no_dependency_resolution"] = True | |
16 training = Training(kwds) | |
17 training.fill_data_library(ctx) |