@@ -14,9 +14,12 @@ nextflow_process {
1414 when {
1515 process {
1616 """
17- input[0] = [ [ id:'test,test2', single_end:true] , // meta map
18- [file(params.modules_testdata_base_path + 'genomics/mus_musculus/mageck/ERR376998.small.fastq.gz', checkIfExists: true),
19- file(params.modules_testdata_base_path + 'genomics/mus_musculus/mageck/ERR376999.small.fastq.gz', checkIfExists: true)]
17+ input[0] = [
18+ [ id:'test,test2' ],
19+ [
20+ file(params.modules_testdata_base_path + 'genomics/mus_musculus/mageck/ERR376998.small.fastq.gz', checkIfExists: true),
21+ file(params.modules_testdata_base_path + 'genomics/mus_musculus/mageck/ERR376999.small.fastq.gz', checkIfExists: true)
22+ ]
2023 ]
2124 input[1] = file(params.modules_testdata_base_path + 'genomics/mus_musculus/mageck/yusa_library.csv')
2225 """
@@ -26,7 +29,7 @@ nextflow_process {
2629 then {
2730 assertAll(
2831 { assert process.success },
29- { assert snapshot(process.out).match() }
32+ { assert snapshot(sanitizeOutput( process.out) ).match() }
3033 )
3134 }
3235
@@ -39,9 +42,12 @@ nextflow_process {
3942 when {
4043 process {
4144 """
42- input[0] = [ [ id:'test,test2', single_end:true] , // meta map
43- [file(params.modules_testdata_base_path + 'genomics/mus_musculus/mageck/ERR376998.small.fastq.gz', checkIfExists: true),
44- file(params.modules_testdata_base_path + 'genomics/mus_musculus/mageck/ERR376999.small.fastq.gz', checkIfExists: true)]
45+ input[0] = [
46+ [ id:'test,test2' ],
47+ [
48+ file(params.modules_testdata_base_path + 'genomics/mus_musculus/mageck/ERR376998.small.fastq.gz', checkIfExists: true),
49+ file(params.modules_testdata_base_path + 'genomics/mus_musculus/mageck/ERR376999.small.fastq.gz', checkIfExists: true)
50+ ]
4551 ]
4652 input[1] = file(params.modules_testdata_base_path + 'genomics/mus_musculus/mageck/yusa_library.csv')
4753 """
@@ -51,8 +57,7 @@ nextflow_process {
5157 then {
5258 assertAll(
5359 { assert process.success },
54- { assert snapshot(process.out).match()
55- }
60+ { assert snapshot(sanitizeOutput(process.out)).match() }
5661 )
5762 }
5863
0 commit comments