New upstream version 2.1
Michael R. Crusoe
3 years ago
8 | 8 |
- `ruamel.yaml`
|
9 | 9 |
|
10 | 10 |
### Installing Dependencies
|
11 | |
We recommend the use of `conda` to manage all dependencies. If you're not sure what `conda` is, make sure to read the [using-conda](conda documentation).
|
|
11 |
We recommend the use of `conda` to manage all dependencies. If you're not sure what `conda` is, make sure to read about the [conda project](https://conda.io/docs/index.html).
|
12 | 12 |
|
13 | |
The easiest way to get you started with CTD conversion is to create a `conda` environment on which you'll install all dependencies. Using environments in `conda` allows you to have parallel, independent python environments, thus avoiding conflicts between libraries. If you haven't installed `conda`, check [conda-install](conda's installation guide).
|
|
13 |
The easiest way to get you started with CTD conversion is to create a `conda` environment on which you'll install all dependencies. Using environments in `conda` allows you to have parallel, independent python environments, thus avoiding conflicts between libraries.
|
|
14 |
|
|
15 |
If you haven't installed `conda`, check [conda-install](conda's installation guide). See [this guide](https://conda.io/docs/user-guide/tasks/manage-environments.html) if you need help creating a `conda` environment.
|
14 | 16 |
|
15 | 17 |
Once you've installed `conda`, create an environment named `ctd-converter`, like so:
|
16 | 18 |
|
|
180 | 182 |
[CTDopts]: https://github.com/genericworkflownodes/CTDopts
|
181 | 183 |
[CTDSchema]: https://github.com/WorkflowConversion/CTDSchema
|
182 | 184 |
[conda-install]: https://conda.io/docs/install/quick.html
|
183 | |
[using-conda]: https://conda.io/docs/using/envs.html⏎
|
|
185 |
[using-conda]: https://conda.io/docs/using/envs.html
|
509 | 509 |
rep_node.attrib["min"] = "0"
|
510 | 510 |
# for the ITEMLISTs which have LISTITEM children we only
|
511 | 511 |
# need one parameter as it is given as a string
|
512 | |
if param.default is not None:
|
|
512 |
if param.default is not None and param.default is not _Null:
|
513 | 513 |
rep_node.attrib["max"] = "1"
|
514 | 514 |
rep_node.attrib["title"] = get_galaxy_parameter_name(param)
|
515 | 515 |
|