Skip to content

Commit

Permalink
reverted to old commit
Browse files Browse the repository at this point in the history
  • Loading branch information
mattheww95 committed May 31, 2024
1 parent e354510 commit 14558a9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion modules/local/report.nf
Original file line number Diff line number Diff line change
Expand Up @@ -804,7 +804,7 @@ def table_values(file_path, header_p, seperator, headers=null){
def converted_data = [:]
def idx = 0
def lines_read = false
def missing_value = ''
def missing_value = 'NoData'
def default_index_col = "__default_index__"
file_path.withReader{
String line
Expand Down
8 changes: 4 additions & 4 deletions tests/functions/report.nf.test
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ nextflow_function {
}
}
then{
assert function.result == ['0':['header1':'', 'header2':'stuff2', 'header3':'stuff3']]
assert function.result == ['0':['header1':'NoData', 'header2':'stuff2', 'header3':'stuff3']]
assert function.success
}
}
Expand All @@ -45,7 +45,7 @@ nextflow_function {
}
}
then{
assert function.result == ['0':['header1':'', 'header2':'', 'header3':'stuff3']]
assert function.result == ['0':['header1':'NoData', 'header2':'NoData', 'header3':'stuff3']]
assert function.success
}
}
Expand Down Expand Up @@ -88,7 +88,7 @@ nextflow_function {
}
}
then{
assert function.result == ['0':['header1':'', 'header2':'stuff2', 'header3':'stuff3']]
assert function.result == ['0':['header1':'NoData', 'header2':'stuff2', 'header3':'stuff3']]
assert function.success
}
}
Expand Down Expand Up @@ -297,7 +297,7 @@ nextflow_function {
}
then{
assert function.success
assert function.result == ['0':['header1':'', 'header2':'', 'header3':'']]
assert function.result == ['0':['header1':'NoData', 'header2':'NoData', 'header3':'NoData']]
}
}
}

0 comments on commit 14558a9

Please sign in to comment.