-
Notifications
You must be signed in to change notification settings - Fork 776
Closed
Labels
Description
Bug report
Expected behavior and actual behavior
Including a configuration file via a link throws a parsing error:
Error nextflow.config:1:1: Invalid include source: '/home/nvnieuwk/Documents/nextflow/nf-test/nf-test/test-data/process/abricate/summary/tests/https:/raw.githubusercontent.com/nf-core/modules/master/tests/config/test_data.config'
│ 1 | includeConfig "https://raw.githubusercontent.com/nf-core/modules/maste
╰ | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
I could work around this by adding a boolean check before the link like this:
includeConfig true ? "https://raw.githubusercontent.com/nf-core/modules/ff6d46d7898b93738c2bf95d0aa9c55a47485735/tests/config/test_data.config" : ""
Steps to reproduce the problem
Add the following line to any config file:
includeConfig "https://raw.githubusercontent.com/nf-core/modules/ff6d46d7898b93738c2bf95d0aa9c55a47485735/tests/config/test_data.config"
Then run the pipeline with strict syntax enabled:
NXF_SYNTAX_PARSER=v2 nextflow run main.nf -c <path-to-config>
Environment
- Nextflow version: 25.10.0 and up (strict syntax)
- Java version: 23
- Operating system: Linux
- Bash version: 5.0
Reactions are currently unavailable