Hello! I'm having some problems with the `nf-core ...
# weekly-helpdesk
s
Hello! I'm having some problems with the
nf-core modules lint
I've patched 3 modules, which need different input or output than the original module. So when I run the
nf-core modules lint --fix
it adds those input/output files to the
meta.yml
Then I run the
nf-core modules patch
so the
meta.yml
changes can be in the
.diff
file. But the
nf-core modules lint
is still giving me the error:
Copy code
╭─ [✗] 3 Module Tests Failed ─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│                                ╷                                       ╷                                                                                                                                                                                                                                            │
│ Module name                    │ File path                             │ Test message                                                                                                                                                                                                                               │
│╶───────────────────────────────┼───────────────────────────────────────┼───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╴│
│ artic/minion                   │ modules/nf-core/artic/minion/meta.yml │ Module meta.yml does not match main.nf. Inputs should contain: [['meta', 'fastq'], 'fast5_dir', 'sequencing_summary', 'primer-schemes/${scheme}/V${scheme_version}/${scheme}.reference.fasta',                                             │
│                                │                                       │ 'primer-schemes/${scheme}/V${scheme_version}/${scheme}.scheme.bed', 'medaka_model_file', 'medaka_model_string', 'scheme', 'scheme_version'] Run nf-core modules lint --fix to update the meta.yml file.                                    │
│ cutadapt                       │ modules/nf-core/cutadapt/meta.yml     │ Module meta.yml does not match main.nf. Inputs should contain: [['meta', 'reads'], 'adapters'] Run nf-core modules lint --fix to update the meta.yml file.                                                                                 │
│ multiqc                        │ modules/nf-core/multiqc/meta.yml      │ Module meta.yml does not match main.nf. Outputs should contain: {'report': ['multiqc_report.html'], 'data': ['_data'], 'plots': ['_plots'], 'csv_reports': ['.csv'], 'versions': ['versions.yml']} Run nf-core modules lint --fix to       │
│                                │                                       │ update the meta.yml file.                                                                                                                                                                                                                  │
│                                ╵                                       ╵                                                                                                                                                                                                                                            │
╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
You can see the changes for multiqc patch in this PR link Is there a way I can fix those errors?
e
Very weird..I cloned your branch and I have the same behaviour..i'll try a bit more
s
@Simon Pearce suggested that is probably an issue with the nf-core tools that don't like patches of input/outputs after the latest reales (I know it worked in may during the hackathon)
➕ 1
Let me know if you figure it out, else I can just write an issue in the tools
s
There is nothing obviously wrong that me and Evangelos can see
e
Yep, tried with other pipelines/nf-core modules and get the same error...has to be a bug
s
happy to hear that I didn't break anything hahahaha I'll open the issue then! Thank you guys for your help!
🙏 1
m
I wouldn't run modules lint in a pipelines
🤯 1
homer disappear
(You haven't heard that from me)
e
Why didn't we even think of that.............................
🤣 1
You can do whatever you want with your patch Sarai...the runners will only check for
nf-core pipelines lint
to pass... :'D
party this 1
s
Yes I already merge it, but I thought it would be nice to pass all listings, even if I don't need them for my pr
🎉 1