Conversation
This PR is against the
|
|
|
@nf-core-bot fix linting |
|
|
||
| then { | ||
| def stable_name_all = getAllFilesFromDir(params.outdir, relative: true , includeDir: true, ignore: ['pipeline_info/*.{html,json,txt}']) | ||
| // bbduk: partly unstable files, see custom assertions |
There was a problem hiding this comment.
Since for bbduk there are partly unstable files, shall the stable_content_bbduk be defined too? This is how I did for the default.nf.test and I am wondering what would be the best strategy.
There was a problem hiding this comment.
Partly in this case I mean the files themselves are partly unstable (not the entire file is completely non-deterministic) - not that some files are stable and none are not.
In this case both teh log and FASTQ files vary slightly.
| { assert snapshot ( | ||
| stable_content_falco, | ||
| file("$outputDir/falco/processed/2612_ERR5766176_1.fastp.fastq.gz_fastqc_data.txt").getName() + " contains string '151 0.177308': " + file("$outputDir/falco/processed/2612_ERR5766176_1.fastp.fastq.gz_fastqc_data.txt").text.contains("151 0.177308"), | ||
| file("$outputDir/falco/processed/2612_ERR5766176_2.fastp.fastq.gz_fastqc_data.txt").getName() + " contains string '151 0.173329': " + file("$outputDir/falco/processed/2612_ERR5766176_2.fastp.fastq.gz_fastqc_data.txt").text.contains("151 0.173329"), |
There was a problem hiding this comment.
As above, each file is changing, the strings being checked against are not consistent across all files
| }, | ||
|
|
||
| // kaiju | ||
| { assert snapshot ( |
|
Thanks @sofstam ! |
PR checklist
nf-core pipelines lint).nextflow run . -profile test,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).