Open
Description
Description of the bug
When trying to execute the workflow in local / dev mode (i.e. with /path/to/nextflow/launch.sh run /path/to/demo/main.nf
) the script fails with:
A workflow named 'UTILS_NFSCHEMA_PLUGIN' is already defined or included in script: /path/to/demo/subworkflows/local/utils_nfcore_demo_pipeline/main.nf
-- Check script '/path/to/demo/subworkflows/local/utils_nfcore_demo_pipeline/main.nf' at line: 11 or see '.nextflow.log' file for more details
I found that the cause of this are the input statements
Line 12 in 04060b4
and
demo/subworkflows/local/utils_nfcore_demo_pipeline/main.nf
Lines 11 to 19 in 04060b4
If I remove one of them, the error is gone. But so are the needed methods (of course).
Command used and terminal output
export NXF_PLUGINS_DEV=/Users/josuacarl/Codespace/test/nf-schema/plugins
path/to/nextflow/launch.sh run /path/to/demo/main.nf
Relevant files
System information
- Nextflow version: Current Github main repo
-
N E X T F L O W version 25.01.0-edge build 5931 created 12-02-2025 10:55 UTC (11:55 CEST) cite doi:10.1038/nbt.3820 http://nextflow.io
-
- Executor: local
- OS: MacOS 15.3.1 (Intel Chipset)
- Version of nf-core/demo: Current Github main branch (1.0.1-edge)