Skip to content

Commit 7b04b15

Browse files
committed
Stable snapshot post nf-test update
1 parent b09426f commit 7b04b15

2 files changed

Lines changed: 46 additions & 4 deletions

File tree

tests/test_modern.nf.test

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,10 @@ nextflow_pipeline {
6363
// Command legend: Result directory to index , includeDir: include dirs?, ignore: exclude patterns , ignoreFile: exclude pattern list , include: include patterns
6464
def stable_name_all = getAllFilesFromDir("$outputDir/" , includeDir: false , ignore: ['pipeline_info/*'] , ignoreFile: null , include: ['*', '**/*'] )
6565

66+
// Authentication
67+
def stable_content_authentication = getAllFilesFromDir("$outputDir/authentication" , includeDir: false , ignore: unstable_patterns_auth , ignoreFile: null , include: ['*', '**/*'] )
68+
def stable_name_authentication = getAllFilesFromDir("$outputDir/authentication" , includeDir: false , ignore: null , ignoreFile: null , include: unstable_patterns_auth)
69+
6670
// Deduplication
6771
def stable_content_deduplication = getAllFilesFromDir("$outputDir/deduplication" , includeDir: false , ignore: null , ignoreFile: null , include: ['**/*.flagstat'] )
6872
def stable_name_deduplication = getAllFilesFromDir("$outputDir/deduplication" , includeDir: false , ignore: null , ignoreFile: null , include: ['**/*.{bam,bai}'] )
@@ -97,6 +101,7 @@ nextflow_pipeline {
97101
// Checking changes to contents of each section
98102
// NOTE: Keep the order of the sections in the alphanumeric order of the output directories.
99103
// Each section should first check stable_content, stable_name second (if applicable).
104+
{ assert snapshot( stable_content_authentication ).match("authentication") },
100105
{ assert snapshot( stable_content_deduplication , stable_name_deduplication*.name ).match("deduplication") },
101106
{ assert snapshot( stable_content_final_bams , stable_name_final_bams*.name ).match("final_bams") },
102107
// NOTE: The snapshot section for mapping cannot be named 'mapping'. See https://github.com/askimed/nf-test/issues/279

tests/test_modern.nf.test.snap

Lines changed: 41 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,6 @@
8080
"JK2782_JK2782_TGGCCGATCAACGA_BAM_Mammoth_MT_Krause_sorted.flagstat",
8181
"JK2782_JK2782_TGGCCGATCAACGA_BAM_Mammoth_MT_Krause_sorted.bam",
8282
"JK2782_JK2782_TGGCCGATCAACGA_BAM_Mammoth_MT_Krause_sorted.bam.bai",
83-
"BETA-multiqc.parquet",
8483
"bcftools-stats-subtypes.txt",
8584
"bcftools_stats_indel-lengths.txt",
8685
"bcftools_stats_variant_depths.txt",
@@ -91,11 +90,13 @@
9190
"fiveprime_misinc_plot.txt",
9291
"length-distribution-Forward.txt",
9392
"length-distribution-Reverse.txt",
93+
"llms-full.txt",
9494
"mapdamage-fiveprime_misinc_plot.txt",
9595
"mapdamage-length-distribution-Forward.txt",
9696
"mapdamage-length-distribution-Reverse.txt",
9797
"mapdamage-threeprime_misinc_plot.txt",
9898
"multiqc.log",
99+
"multiqc.parquet",
99100
"multiqc_bcftools_stats.txt",
100101
"multiqc_citations.txt",
101102
"multiqc_damageprofiler_metrics.txt",
@@ -189,7 +190,7 @@
189190
"nf-test": "0.9.2",
190191
"nextflow": "25.04.6"
191192
},
192-
"timestamp": "2025-10-24T09:31:18.845531036"
193+
"timestamp": "2025-11-14T09:32:18.690658462"
193194
},
194195
"genotyping_vcfs": {
195196
"content": [
@@ -253,7 +254,6 @@
253254
"multiqc": {
254255
"content": [
255256
[
256-
"BETA-multiqc.parquet",
257257
"bcftools-stats-subtypes.txt",
258258
"bcftools_stats_indel-lengths.txt",
259259
"bcftools_stats_variant_depths.txt",
@@ -264,11 +264,13 @@
264264
"fiveprime_misinc_plot.txt",
265265
"length-distribution-Forward.txt",
266266
"length-distribution-Reverse.txt",
267+
"llms-full.txt",
267268
"mapdamage-fiveprime_misinc_plot.txt",
268269
"mapdamage-length-distribution-Forward.txt",
269270
"mapdamage-length-distribution-Reverse.txt",
270271
"mapdamage-threeprime_misinc_plot.txt",
271272
"multiqc.log",
273+
"multiqc.parquet",
272274
"multiqc_bcftools_stats.txt",
273275
"multiqc_citations.txt",
274276
"multiqc_damageprofiler_metrics.txt",
@@ -362,7 +364,7 @@
362364
"nf-test": "0.9.2",
363365
"nextflow": "25.04.6"
364366
},
365-
"timestamp": "2025-10-24T09:31:19.164190166"
367+
"timestamp": "2025-11-14T09:32:19.045203027"
366368
},
367369
"mapping_output": {
368370
"content": [
@@ -379,5 +381,40 @@
379381
"nextflow": "25.04.6"
380382
},
381383
"timestamp": "2025-10-24T09:31:18.940549002"
384+
},
385+
"authentication": {
386+
"content": [
387+
[
388+
"3pGtoA_freq.txt:md5,f66d3c680c5c93587f4a7edfb310c75f",
389+
"5pCtoT_freq.txt:md5,db2d50666bd31a4295614ec65aaa1359",
390+
"dmgprof.json:md5,3bf9e6252f48aba08627957f5c4834cf",
391+
"editDistance.txt:md5,7c00cd7cc4bd87c2da4debaa2704a66a",
392+
"lgdistribution.txt:md5,835cb5b6dec7fa901091f915e7ca51a2",
393+
"JK2782_JK2782_TGGCCGATCAACGA_BAM_Mammoth_MT_Krause_percent_on_target_mqc.json:md5,1ba4cc8117b76f89ba9415f2b800ef1f",
394+
"JK2782_JK2782_TGGCCGATCAACGA_BAM_Mammoth_MT_Krause.c_curve.txt:md5,a303d107a83477f3b9535d771a1ca82a",
395+
"agogo.css:md5,bd757b1a7ce6fdc0288ba148680f4583",
396+
"ajax-loader.gif:md5,ae6667053ad118020b8e68ccf307b519",
397+
"basic.css:md5,25b2823342c0604924a2870eeb4e7e94",
398+
"doctools.js:md5,5ff571aa60e63f69c1890283e240ff8d",
399+
"jquery.js:md5,10092eee563dec2dca82b77d2cf5a1ae",
400+
"pygments.css:md5,d625a0adb949f181bd0d3f1432b0fa7f",
401+
"report.css:md5,7a5f09eaf7c176f966f4e8854168b812",
402+
"searchtools.js:md5,d550841adeedc8ed47c40ee607620937",
403+
"underscore.js:md5,db5ba047a66617d4cd3e8c5099cc51db",
404+
"websupport.js:md5,9e61e1e8a7433c56bd7e5a615affcf85",
405+
"coverage_across_reference.txt:md5,f0a2dc6e523af57df603e403807139be",
406+
"coverage_histogram.txt:md5,b8b99bcd4643edf2f09f8feb8c46e36d",
407+
"duplication_rate_histogram.txt:md5,f342d718392629bd982d363e4d9ef27e",
408+
"genome_fraction_coverage.txt:md5,271e60f18de911ebfa90b5be77bfa21d",
409+
"homopolymer_indels.txt:md5,28817a010a023836fcf6aac4e1e3976f",
410+
"mapping_quality_across_reference.txt:md5,b0670d4adfeeecb4825d7aedb0933145",
411+
"mapping_quality_histogram.txt:md5,49a46418edd03774e110ae4010193e10"
412+
]
413+
],
414+
"meta": {
415+
"nf-test": "0.9.2",
416+
"nextflow": "25.04.6"
417+
},
418+
"timestamp": "2025-11-14T10:11:39.459311849"
382419
}
383420
}

0 commit comments

Comments
 (0)