tools icon indicating copy to clipboard operation
tools copied to clipboard

Error linting module that has the keyword `val` in its emit name

Open AlexVCaron opened this issue 10 months ago • 1 comments

Description of the bug

I am linting the module reconst/shmetrics on my nf-core/modules clone (nf-neuro). I'm getting a lint error that the output section is badly formatted, saying the output peak_values should have this shape :

'peak_values': ['meta', '*peak_values.nii.gz', 'ues']

The last element (ues) should not be there. I am not well versed in regex, but I believe it gets extracted by the one that is here in the nf-core/tools code.

Command used and terminal output

git clone https://github.com/AlexVCaron/nf-neuro.git nf-neuro
cd nf-neuro
git checkout feat/nf-core_3.2.0
nf-core modules lint reconst/shmetrics

System information

  • Nextflow 24.10.3
  • Desktop
  • local
  • Ubuntu 22.04
  • nf-core/tools 3.2.0
  • Python 3.10.12

AlexVCaron avatar Mar 06 '25 16:03 AlexVCaron

The problem also occurs in the input section

AlexVCaron avatar Mar 07 '25 15:03 AlexVCaron