I changed the input channels of my module and now ...
# nf-test
f
I changed the input channels of my module and now I cannot figure out how to correctly declare them in the nf-test file: https://github.com/nf-core/modules/pull/9404/files It would be amazing if someone could pinpoint me to the issue. Because it worked for 2/3 modules just for
callvariants
when I run nf-test it tells me
Copy code
│   Assertion failed:                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            │
│   assert process.success                                                                                                                                                                                                                                             
│          |       |                                                                                                                                                                                                                                                   │          |       false                                                                                                                                                                                                                                               
│          VARLOCIRAPTOR_CALLVARIANTS                                                                                                                                                                                                                                  │
│   Nextflow stdout:                                                                                                                                                                                                                                                   
│   ERROR ~ Script compilation error                                                                                                                                                                                                                                   │
│   - file : /Users/famke/02-nf-core/modules/.<http://nf-test-b5316c7c5c8f21082b4f9fc81a8a70e5.nf|nf-test-b5316c7c5c8f21082b4f9fc81a8a70e5.nf>                                                                                                                                                                              │
│   - cause: Unexpected input: '{' @ line 32, column 10.                                                                                                                                                                                                               │
│      workflow {                                                                                                                                                                                                                                                      │            ^
s
Is it your
.map{ meta, bam, bai, candidates, fasta, fai, alignment_json -> meta, bam, bai, candidates, alignment_json, fasta, fai }
should have
[ ]
around the second half?
(in two places)
f
fail
That fixed 2/3 tests for me now 🎉 but I still cannot figure out how to properly declare the input for the multisample one 😞
ok I think I found it
🎉 1