Skip to content

Template: handle template features with a yaml file#3108

Merged
mirpedrol merged 12 commits into
nf-core:devfrom
mirpedrol:template-customisation-yaml-file
Aug 13, 2024
Merged

Template: handle template features with a yaml file#3108
mirpedrol merged 12 commits into
nf-core:devfrom
mirpedrol:template-customisation-yaml-file

Conversation

@mirpedrol

Copy link
Copy Markdown
Member

To avoid repetitive code for every pipeline feature we want to add, this PR adds a yaml file which will be the source of true and which all the commands will use.
nf-core pipelines create -> to create the pipeline
tests/data/pipeline_create_template_skip.yml -> to test skipping all features
create-test-lint-wf-template.yml -> to test creating a pipeline skipping all features, running it and linting

@mirpedrol mirpedrol marked this pull request as ready for review August 12, 2024 13:10
Comment thread .github/workflows/create-test-lint-wf-template.yml Outdated
Comment thread nf_core/pipelines/create/__init__.py Outdated
Comment thread nf_core/pipelines/create/create.py Outdated
Comment thread nf_core/pipelines/create/create.py
Comment thread nf_core/pipelines/create/create.py
Comment thread nf_core/pipelines/create/create.py
Comment thread nf_core/pipelines/create/templatefeatures.yml Outdated
Comment thread nf_core/pipelines/create/templatefeatures.yml Outdated
Comment thread nf_core/pipelines/create/utils.py Outdated
mirpedrol and others added 2 commits August 13, 2024 12:16
Co-authored-by: Matthias Hörtenhuber <mashehu@users.noreply.github.com>
@mirpedrol mirpedrol merged commit 90f963c into nf-core:dev Aug 13, 2024
@mirpedrol mirpedrol deleted the template-customisation-yaml-file branch August 13, 2024 10:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants