Open jgbaum opened 1 year ago
can I take this issue?
I think I made a PR for this already: #4376
Think it got stalled over concern that it would break existing pipelines, but seems like something that should break your pipeline
Maybe we could be more lenient and have it log a warning instead
so have it send a warning to the user when inputting information?
Bug report
Nextflow seems to allow multiple input variables with identical names in the same process, which could lead to unexpected behavior.
Expected behavior and actual behavior
Nextflow should throw an error if a process contains multiple input variables with the same name.
Steps to reproduce the problem
Run the workflow below, which contains two input variables with the name 'sample_id'. This was originally taken from example 6.3.5 of the training documentation.
Program output
Environment
Additional context
This was originally raised in the nextflow training repo: https://github.com/nextflow-io/training/issues/231