@@ -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() }
@@ -46,9 +46,9 @@ nextflow_pipeline {
4646
4747 then {
4848 // stable_name: All files + folders in ${params.outdir}/ with a stable name
49- def stable_name = getAllFilesFromDir(params.outdir, true, ['pipeline_info/*.{html,json,txt}'], null )
49+ def stable_name = getAllFilesFromDir(params.outdir, relative: true, includeDir: true, ignore: ['pipeline_info/*.{html,json,txt}'])
5050 // stable_path: All files in ${params.outdir}/ with stable content
51- def stable_path = getAllFilesFromDir(params.outdir, false, null, 'tests/.nftignore')
51+ def stable_path = getAllFilesFromDir(params.outdir, ignoreFile: 'tests/.nftignore')
5252 assertAll(
5353 { assert workflow.success},
5454 { assert snapshot(
@@ -57,7 +57,7 @@ nextflow_pipeline {
5757 // pipeline versions.yml file for multiqc from which Nextflow version is removed because we tests pipelines on multiple Nextflow versions
5858 removeNextflowVersion("$outputDir/pipeline_info/nf_core_rnaseq_software_mqc_versions.yml"),
5959 // All stable path name, with a relative path
60- getRelativePath( stable_name, outputDir) ,
60+ stable_name,
6161 // All files with stable contents
6262 stable_path
6363 ).match() }
0 commit comments