@@ -16,9 +16,9 @@ nextflow_pipeline {
1616
1717 then {
1818 // stable_name: All files + folders in ${params.outdir}/ with a stable name
19- def stable_name = getAllFilesFromDir(params.outdir, true, ['pipeline_info/*.{html,json,txt}'], null )
19+ def stable_name = getAllFilesFromDir(params.outdir, relative: true, includeDir: true, ignore: ['pipeline_info/*.{html,json,txt}'])
2020 // stable_path: All files in ${params.outdir}/ with stable content
21- def stable_path = getAllFilesFromDir(params.outdir, false, null, 'tests/.nftignore')
21+ def stable_path = getAllFilesFromDir(params.outdir, ignoreFile: 'tests/.nftignore')
2222 assertAll(
2323 { assert workflow.success},
2424 { assert snapshot(
@@ -27,7 +27,7 @@ nextflow_pipeline {
2727 // pipeline versions.yml file for multiqc from which Nextflow version is removed because we tests pipelines on multiple Nextflow versions
2828 removeNextflowVersion("$outputDir/pipeline_info/nf_core_rnaseq_software_mqc_versions.yml"),
2929 // All stable path name, with a relative path
30- getRelativePath( stable_name, outputDir) ,
30+ stable_name,
3131 // All files with stable contents
3232 stable_path
3333 ).match() }
@@ -50,9 +50,9 @@ nextflow_pipeline {
5050
5151 then {
5252 // stable_name: All files + folders in ${params.outdir}/ with a stable name
53- def stable_name = getAllFilesFromDir(params.outdir, true, ['pipeline_info/*.{html,json,txt}'], null )
53+ def stable_name = getAllFilesFromDir(params.outdir, relative: true, includeDir: true, ignore: ['pipeline_info/*.{html,json,txt}'])
5454 // stable_path: All files in ${params.outdir}/ with stable content
55- def stable_path = getAllFilesFromDir(params.outdir, false, null, 'tests/.nftignore')
55+ def stable_path = getAllFilesFromDir(params.outdir, ignoreFile: 'tests/.nftignore')
5656 assertAll(
5757 { assert workflow.success},
5858 { assert snapshot(
@@ -61,7 +61,7 @@ nextflow_pipeline {
6161 // pipeline versions.yml file for multiqc from which Nextflow version is removed because we tests pipelines on multiple Nextflow versions
6262 removeNextflowVersion("$outputDir/pipeline_info/nf_core_rnaseq_software_mqc_versions.yml"),
6363 // All stable path name, with a relative path
64- getRelativePath( stable_name, outputDir) ,
64+ stable_name,
6565 // All files with stable contents
6666 stable_path
6767 ).match() }
0 commit comments