<@U03DZ1KA8F2> - <https://github.com/nf-core/modu...
# team-maintainers
j
@Sateesh_Peri - https://github.com/nf-core/modules/pull/7207 this morning has broken some things. e.g. the
umicollapse
module now has a random memory error, which I'm guessing is because you un-defined
process.memory
?
Copy code
Cannot invoke method toMega() on null object -- Check script '/workspace/modules/modules/nf-core/umicollapse/tests/../main.nf' at line: 31
You could argue that modules should check for task.memory before using it, but I think there are quite a few places where that's not happening.
s
share your pr run link
m
j
Don't have one, I was testing locally trying to figure out cryptic errors I traced to this. Just do
Copy code
nf-test test --verbose modules/nf-core/umicollapse/tests/main.nf.test --profile "+docker"
... somewhere
@Maxime Garcia yep, I accept that the practice is wrong, but it's there and not uncommon, so I think we need to revert this for now.
s
but what I changed was fastqc module and subworkflow -
subworkflows/nf-core/fastq_fastqc_umitools_fastp/main.nf
j
From #7207:
s
ah
j
We should go through and fix up the modules, figure out default memory etc, but I'm certainly not doing that right now, so can we undo it please?
s
sure
PR coming
thankyou 1
j
@Sateesh_Peri - my fix to your fix (https://github.com/nf-core/modules/pull/7214) - sorry, I didn't check enough before approving
🫣 1
s
sorry didnt catch - was doing a template merge 😅
p
Should be fine to add
resourceLimits
I think ☝🏻 but agree that we should be setting
cpus
and
memory
defaults in addition to that
(though likely not needed for #modules)