Remove the usage of parameters in subworkflows#753
Conversation
|
|
@nf-core-bot fix linting |
fellen31
left a comment
There was a problem hiding this comment.
Nice! Some questions about the tests.
| skip_peddy, | ||
| skip_qualimap, | ||
| skip_smncopynumbercaller, | ||
| skip_vcf2cytosure |
There was a problem hiding this comment.
| skip_vcf2cytosure | |
| skip_vcf2cytosure, |
There was a problem hiding this comment.
Think nextflow lint -f might add commas here, but not sure.
| skip_tools = null | ||
| platform = "illumina" | ||
| min_trimmed_length = 50 | ||
| mito_name = "MT" |
There was a problem hiding this comment.
In the config for the test.
| workflow.out.mt_bam_bai | ||
| .collect { meta, bamfile, index -> [ meta, bam(bamfile).getReadsMD5(), file(index).name ] }, | ||
| workflow.out.mt_bam_bai_gatksubwf | ||
| .collect { meta, bamfile, index -> [ meta, bam(bamfile).getReadsMD5(), file(index).name ] }, | ||
| workflow.out.mtshift_bam_bai_gatksubwf | ||
| .collect { meta, bamfile, index -> [ meta, bam(bamfile).getReadsMD5(), file(index).name ] }, |
There was a problem hiding this comment.
I wouldn't mind seeing that these are empty.
| params { | ||
| mt_aligner = 'bwa' | ||
| outdir = "$outputDir" | ||
| outdir = "$outputDir" |
There was a problem hiding this comment.
Why do you need outdir here? 🤔
There was a problem hiding this comment.
We don't need it for the tests to work, but nf-test throws a warning in verbose mode when its not set.
| when { | ||
| params { | ||
| aligner = "sentieon" | ||
| outdir = "$outputDir" |
There was a problem hiding this comment.
Don't understand why outdir is needed?
| "HAPLOGREP3_CLASSIFY_MT": { | ||
| "haplogrep3": null | ||
| }, |
There was a problem hiding this comment.
Good catch! I am updating the module nf-core/modules#9523
| "REPLACE_SPACES_IN_VCFINFO": { | ||
| "replace_spaces_in_vcfinfo": "v1.0", | ||
| "python": "3.8.3" | ||
| }, |
There was a problem hiding this comment.
Why are so many more files output? Is this PR supposed to change the tests?
There was a problem hiding this comment.
Yes! We are not skipping as many tests like we used to.
| "-profile test_bam": { | ||
| "content": [ | ||
| 274, | ||
| 794, |
| "-profile test_singleton": { | ||
| "content": [ | ||
| 148, | ||
| 362, |
PR checklist
nf-core pipelines lint).nextflow run . -profile test,docker --outdir <OUTDIR>).nextflow run . -profile test_singleton,docker --outdir <OUTDIR>).nextflow run . -profile debug,test,docker --outdir <OUTDIR>).docs/usage.mdis updated.docs/output.mdis updated.CHANGELOG.mdis updated.README.mdis updated (including new tool citations and authors/contributors).