Skip to content

Commit 7629795

Browse files
committed
update skip_trimming snapshots
1 parent 60f73b9 commit 7629795

File tree

3 files changed

+75
-219
lines changed

3 files changed

+75
-219
lines changed

tests/hisat2.nf.test.snap

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1309,28 +1309,6 @@
13091309
"lib_format_counts.json:md5,088fd51db07022ffde47033bbd029400",
13101310
"R_sessionInfo.log:md5,fb0da0d7ad6994ed66a8e68348b19676",
13111311
"tx2gene.tsv:md5,0e2418a69d2eba45097ebffc2f700bfe"
1312-
],
1313-
[
1314-
[
1315-
"RAP1_IAA_30M_REP1.markdup.sorted.bam",
1316-
"4bf1f3b76f3530504adfdb43b2108d8b"
1317-
],
1318-
[
1319-
"RAP1_UNINDUCED_REP1.markdup.sorted.bam",
1320-
"2296ff6525d6efb9ffa5b3dcc870dd0d"
1321-
],
1322-
[
1323-
"RAP1_UNINDUCED_REP2.markdup.sorted.bam",
1324-
"799583958cd2ca6ad49be00651a33359"
1325-
],
1326-
[
1327-
"WT_REP1.markdup.sorted.bam",
1328-
"aea452c12ed0a10dee2f1b004a7dad95"
1329-
],
1330-
[
1331-
"WT_REP2.markdup.sorted.bam",
1332-
"6c30c16afec17c44cddfcc9eacea5cd2"
1333-
]
13341312
]
13351313
],
13361314
"meta": {

tests/skip_trimming.nf.test

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@ nextflow_pipeline {
1414

1515
then {
1616
// stable_name: All files + folders in ${params.outdir}/ with a stable name
17-
def stable_name = getAllFilesFromDir(params.outdir, true, ['pipeline_info/*.{html,json,txt}'], null)
17+
def stable_name = getAllFilesFromDir(params.outdir, relative: true, includeDir: true, ignore: ['pipeline_info/*.{html,json,txt}'])
1818
// stable_path: All files in ${params.outdir}/ with stable content
19-
def stable_path = getAllFilesFromDir(params.outdir, false, null, 'tests/.nftignore')
19+
def stable_path = getAllFilesFromDir(params.outdir, ignoreFile: 'tests/.nftignore')
2020
assertAll(
2121
{ assert workflow.success},
2222
{ assert snapshot(
@@ -25,7 +25,7 @@ nextflow_pipeline {
2525
// pipeline versions.yml file for multiqc from which Nextflow version is removed because we tests pipelines on multiple Nextflow versions
2626
removeNextflowVersion("$outputDir/pipeline_info/nf_core_rnaseq_software_mqc_versions.yml"),
2727
// All stable path name, with a relative path
28-
getRelativePath(stable_name, outputDir),
28+
stable_name,
2929
// All files with stable contents
3030
stable_path
3131
).match() }

0 commit comments

Comments
 (0)