nextflow icon indicating copy to clipboard operation
nextflow copied to clipboard

wrong error when forgetting comma

Open emosyne opened this issue 1 year ago • 2 comments

Bug report

Expected behavior and actual behavior

When forgetting a comma in the input section:

process PLINK_ASSOC_GLM {

    input: 
    tuple path(bedfile), path(bimfile), path(famfile), path(covar) path(EP_list_hg19)
                                                                  ^
}

The script throws the wrong error:

Process 'PLINK_ASSOC_GLM' has been already used -- 
If you need to reuse the same component include it with a different name
or include in a different workflow context

Instead of the error: you forgot a comma

Program output

Log attached log.txt

Environment

in log file

  Version: 22.04.5 build 5708
  Created: 15-07-2022 16:09 UTC (18:09 CEST)
  System: Linux 4.19.0-21-amd64
  Runtime: Groovy 3.0.10 on OpenJDK 64-Bit Server VM 11.0.16+8-post-Debian-1deb10u1
  Encoding: UTF-8 (ISO-8859-1)
  Process: [email protected] [145.101.32.96]
  CPUs: 16 - Mem: 16 GB (15.2 GB) - Swap: 16 GB (14.7 GB)

emosyne avatar Sep 06 '22 12:09 emosyne

I can confirm this is an issue too. I have run into the same problem.

andersgs avatar Sep 14 '22 17:09 andersgs

Thanks for reporting. Indeed, we need to work to improve this

pditommaso avatar Sep 15 '22 08:09 pditommaso