Skip to content

Commit e1bc23b

Browse files
committed
Add to snapshot
1 parent dc87515 commit e1bc23b

File tree

2 files changed

+22
-3
lines changed

2 files changed

+22
-3
lines changed

workflows/phaseimpute/tests/main.nf.test

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,12 @@ nextflow_pipeline {
2525
.collect { getRecursiveFileNames(it, outputDir) }
2626
.flatten(),
2727
path("$outputDir/imputation/glimpse1/concat/all.batch0.glimpse1.vcf.gz").vcf.summary.replaceAll(", phasedAutodetect=(false|true)", ""),
28-
path("$outputDir/imputation/glimpse1/concat/all.batch0.glimpse1.vcf.gz").vcf.header.getGenotypeSamples().sort()
28+
path("$outputDir/imputation/glimpse1/concat/all.batch0.glimpse1.vcf.gz").vcf.header.getGenotypeSamples().sort(),
29+
path("${outputDir}/pipeline_info/")
30+
.list()
31+
.collect { getRecursiveFileNames(it, outputDir) }
32+
.flatten()
33+
.collect { removeTimestamp(it) }
2934
).match()
3035
}
3136
)
@@ -299,3 +304,7 @@ def getRecursiveFileNames(fileOrDir, outputDir) {
299304
}
300305
return fileOrDir.toString().replace("${outputDir}/", "")
301306
}
307+
308+
def removeTimestamp(filename) {
309+
filename.replaceAll(/_\d{4}-\d{2}-\d{2}_\d{2}-\d{2}-\d{2}/, "")
310+
}

workflows/phaseimpute/tests/main.nf.test.snap

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -408,13 +408,23 @@
408408
"NA12878",
409409
"NA19401",
410410
"NA20359"
411+
],
412+
[
413+
"pipeline_info/co2footprint_report.html",
414+
"pipeline_info/co2footprint_summary.txt",
415+
"pipeline_info/co2footprint_trace.txt",
416+
"pipeline_info/execution_report.html",
417+
"pipeline_info/execution_timeline.html",
418+
"pipeline_info/nf_core_pipeline_software_mqc_versions.yml",
419+
"pipeline_info/params.json",
420+
"pipeline_info/pipeline_dag.html"
411421
]
412422
],
413423
"meta": {
414-
"nf-test": "0.9.2",
424+
"nf-test": "0.9.1",
415425
"nextflow": "24.10.1"
416426
},
417-
"timestamp": "2024-11-27T18:11:44.567996758"
427+
"timestamp": "2025-02-20T09:18:56.431336345"
418428
},
419429
"Check test_dog": {
420430
"content": [

0 commit comments

Comments
 (0)