From 7915b47b4672b8bb27d0bd996f7f2b5eb2b363a8 Mon Sep 17 00:00:00 2001 From: mirpedrol Date: Wed, 22 Feb 2023 09:38:57 +0100 Subject: [PATCH 1/2] add repository_type to .nf-core.yml --- README.md | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 60dc102996..5c47e815d9 100644 --- a/README.md +++ b/README.md @@ -1032,6 +1032,8 @@ To list subworkflows installed in a local pipeline directory you can use `nf-cor @@ -1056,6 +1058,8 @@ A subworkflow installed this way will be installed to the `./subworkflows/nf-cor ![`nf-core subworkflows install bam_rseqc`](docs/images/nf-core-subworkflows-install.svg) @@ -1075,6 +1079,8 @@ You can update subworkflows installed from a remote repository in your pipeline ![`nf-core subworkflows update --all --no-preview`](docs/images/nf-core-subworkflows-update.svg) @@ -1134,6 +1140,8 @@ To delete a subworkflow from your pipeline, run `nf-core subworkflows remove`. ![`nf-core subworkflows remove bam_rseqc`](docs/images/nf-core-subworkflows-remove.svg) @@ -1162,10 +1170,10 @@ The `nf-core subworkflows create` command will prompt you with the relevant ques -![`cd modules && nf-core subworkflows create bam_stats_samtools --author @nf-core-bot --label process_low --meta --force`](docs/images/nf-core-subworkflows-create.svg) +![`cd modules && nf-core subworkflows create bam_stats_samtools --author @nf-core-bot --force`](docs/images/nf-core-subworkflows-create.svg) ### Create a subworkflow test config file @@ -1177,6 +1185,8 @@ After you have written a minimal Nextflow script to test your subworkflow in `/t working_dir: tmp/subworkflows extra_env: PROFILE: 'conda' +before_command: > + echo "repository_type: modules" >> .nf-core.yml --> ![`nf-core subworkflows create-test-yml bam_stats_samtools --no-prompts --force`](docs/images/nf-core-subworkflows-create-test.svg) @@ -1192,6 +1202,8 @@ working_dir: tmp/subworkflows timeout: 30 extra_env: PROFILE: 'conda' +before_command: > + echo "repository_type: pipeline" >> .nf-core.yml --> ![`nf-core subworkflows test bam_rseqc --no-prompts`](docs/images/nf-core-subworkflows-test.svg) From c569daaed17d9a1e67a3887a92d45c8b4965904b Mon Sep 17 00:00:00 2001 From: mirpedrol Date: Wed, 22 Feb 2023 09:44:40 +0100 Subject: [PATCH 2/2] add repository_type to .nf-core.yml --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 5c47e815d9..fa4fc96d0e 100644 --- a/README.md +++ b/README.md @@ -1047,6 +1047,8 @@ This shows documentation about the subworkflow on the command line, similar to w ![`nf-core subworkflows info bam_rseqc`](docs/images/nf-core-subworkflows-info.svg)