From a5a5439740e9eb2478f09220de92df726b95ee3f Mon Sep 17 00:00:00 2001 From: mirpedrol Date: Mon, 28 Nov 2022 11:23:56 +0100 Subject: [PATCH 1/3] description between double quotes --- CHANGELOG.md | 1 + nf_core/pipeline-template/nextflow.config | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index b0ae4b39fc..9667502a1c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -299,6 +299,7 @@ Please note that there are many excellent integrations for Prettier available, f - Add `--publish_dir_mode` back into the pipeline template ([nf-core/rnaseq#752](https://github.com/nf-core/rnaseq/issues/752#issuecomment-1039451607)) - Add optional loading of of pipeline-specific institutional configs to `nextflow.config` - Make `--outdir` a mandatory parameter ([nf-core/tools#1415](https://github.com/nf-core/tools/issues/1415)) +- Add description between double quotes to avoid errors with apostrophes in a description ([]()) ### General diff --git a/nf_core/pipeline-template/nextflow.config b/nf_core/pipeline-template/nextflow.config index 77f6841fac..414bda048c 100644 --- a/nf_core/pipeline-template/nextflow.config +++ b/nf_core/pipeline-template/nextflow.config @@ -196,7 +196,7 @@ manifest { name = '{{ name }}' author = '{{ author }}' homePage = 'https://github.com/{{ name }}' - description = '{{ description }}' + description = "{{ description }}" mainScript = 'main.nf' nextflowVersion = '!>=22.10.1' version = '{{ version }}' From 7727f0fc586610319f65cf289c83ceaa3c0fcc1f Mon Sep 17 00:00:00 2001 From: mirpedrol Date: Mon, 28 Nov 2022 11:25:30 +0100 Subject: [PATCH 2/3] update changelog --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9667502a1c..74e942b8a2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -299,7 +299,7 @@ Please note that there are many excellent integrations for Prettier available, f - Add `--publish_dir_mode` back into the pipeline template ([nf-core/rnaseq#752](https://github.com/nf-core/rnaseq/issues/752#issuecomment-1039451607)) - Add optional loading of of pipeline-specific institutional configs to `nextflow.config` - Make `--outdir` a mandatory parameter ([nf-core/tools#1415](https://github.com/nf-core/tools/issues/1415)) -- Add description between double quotes to avoid errors with apostrophes in a description ([]()) +- Add description between double quotes to avoid errors with apostrophes in a description ([#2066](https://github.com/nf-core/tools/pull/2066)) ### General From 2ac794818bedcf862247dd75c345d09e45bf60e0 Mon Sep 17 00:00:00 2001 From: mirpedrol Date: Mon, 28 Nov 2022 12:23:22 +0100 Subject: [PATCH 3/3] change to triple quotes --- nf_core/pipeline-template/nextflow.config | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nf_core/pipeline-template/nextflow.config b/nf_core/pipeline-template/nextflow.config index 414bda048c..8ccb08d409 100644 --- a/nf_core/pipeline-template/nextflow.config +++ b/nf_core/pipeline-template/nextflow.config @@ -196,7 +196,7 @@ manifest { name = '{{ name }}' author = '{{ author }}' homePage = 'https://github.com/{{ name }}' - description = "{{ description }}" + description = """{{ description }}""" mainScript = 'main.nf' nextflowVersion = '!>=22.10.1' version = '{{ version }}'