diff --git a/CHANGELOG.md b/CHANGELOG.md index 40a25cba0..d3912cb05 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,7 @@ - Remove the on `pull_request_target` trigger and `pull_request` types from the download test. Also drop `push` triggers on other CI tests. ([#3399](https://github.com/nf-core/tools/pull/3399)) - Add nf-core template version badges to README ([#3396](https://github.com/nf-core/tools/pull/3396)) - Add Bluesky badge to readme ([#3475](https://github.com/nf-core/tools/pull/3475)) +- Move import in `utils_nfcore_phaseimpute_pipeline` next to using workflow ([#3476](https://github.com/nf-core/tools/pull/3476)) ### Linting diff --git a/nf_core/pipeline-template/subworkflows/local/utils_nfcore_pipeline_pipeline/main.nf b/nf_core/pipeline-template/subworkflows/local/utils_nfcore_pipeline_pipeline/main.nf index 06faf35d7..4908e2109 100644 --- a/nf_core/pipeline-template/subworkflows/local/utils_nfcore_pipeline_pipeline/main.nf +++ b/nf_core/pipeline-template/subworkflows/local/utils_nfcore_pipeline_pipeline/main.nf @@ -9,15 +9,7 @@ */ {% if nf_schema %}include { UTILS_NFSCHEMA_PLUGIN } from '../../nf-core/utils_nfschema_plugin' -include { paramsSummaryMap } from 'plugin/nf-schema' include { samplesheetToList } from 'plugin/nf-schema'{% endif %} -{%- if email %} -include { completionEmail } from '../../nf-core/utils_nfcore_pipeline' -{%- endif %} -include { completionSummary } from '../../nf-core/utils_nfcore_pipeline' -{%- if adaptivecard or slackreport %} -include { imNotification } from '../../nf-core/utils_nfcore_pipeline' -{%- endif %} include { UTILS_NFCORE_PIPELINE } from '../../nf-core/utils_nfcore_pipeline' include { UTILS_NEXTFLOW_PIPELINE } from '../../nf-core/utils_nextflow_pipeline' @@ -118,6 +110,15 @@ workflow PIPELINE_INITIALISATION { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */ +include { paramsSummaryMap } from 'plugin/nf-schema' +{%- if email %} +include { completionEmail } from '../../nf-core/utils_nfcore_pipeline' +{%- endif %} +include { completionSummary } from '../../nf-core/utils_nfcore_pipeline' +{%- if adaptivecard or slackreport %} +include { imNotification } from '../../nf-core/utils_nfcore_pipeline' +{%- endif %} + workflow PIPELINE_COMPLETION { take: