-
Notifications
You must be signed in to change notification settings - Fork 776
Open
Labels
Description
I have encountered an issue with Nextflow 25.10.3 (25.10.3.10983), where a module that has historically worked without issue is now reporting an error: Cannot invoke method minus() on null object -- Check script
I have an nf-test case that reproduces the issue:
π nf-test 0.9.3
https://www.nf-test.com
(c) 2021 - 2024 Lukas Forer and Sebastian Schoenherr
Test Process GATK_GATHERBQSRREPORTS
Test [3a4e9bb0] 'Main Function'
> N E X T F L O W ~ version 25.10.3
> Launching `.nf-test-3a4e9bb04f6401697f6ec6f0d7996d.nf` [goofy_heyrovsky] DSL2 - revision: 9f3d9015f2
> ERROR ~ Error executing process > 'GATK_GATHERBQSRREPORTS (testSample_42)'
>
> Caused by:
> Cannot invoke method minus() on null object -- Check script 'modules/gatk/gatk_gatherbqsrreports.nf' at line: 20
>
>
> Source block:
> String my_mem = (task.memory-1.GB).toString()
> my_mem = my_mem[0..-4]
> inputs = reports.collect { "-I $it" }.join(' ')
> """
> mkdir -p tmp
> gatk --java-options "-Xmx${my_mem}G -Djava.io.tmpdir=`pwd`/tmp" GatherBQSRReports \
> ${inputs} \
> -O ${sampleID}_recal_data.table
> """
>
> Container:
> /projects/omics_share/meta/containers/broadinstitute-gatk-4.2.4.1.img
>
> Tip: you can try to figure out what's wrong by changing to the process work dir and showing the script file named `.command.sh`
>
> -- Check '.nf-test/tests/3a4e9bb04f6401697f6ec6f0d7996d/meta/nextflow.log' file for details
> Execution cancelled -- Finishing pending tasks before exit
FAILED (11.696s)
Assertion failed:
assert process.success
| |
| false
GATK_GATHERBQSRREPORTS
...
FAILURE: Executed 1 tests in 11.748s (1 failed)
when I run the same test with version 24.10.6.5937, I have no issue.
π nf-test 0.9.3
https://www.nf-test.com
(c) 2021 - 2024 Lukas Forer and Sebastian Schoenherr
Test Process GATK_GATHERBQSRREPORTS
Test [3a4e9bb0] 'Main Function' PASSED (54.648s)
SUCCESS: Executed 1 tests in 54.724s
Thoughts on what could cause this?
I'm happy to provide more details if needed, just let me know what.
Reactions are currently unavailable