Skip to content

Commit

Permalink
Replace with expected pgs file from msav
Browse files Browse the repository at this point in the history
  • Loading branch information
seppinho committed Jul 1, 2024
1 parent 815d306 commit e372a6d
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions tests/main.pgs.nf.test
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,9 @@ nextflow_pipeline {
then {
assert workflow.success

//TODO: check which expected file is correct!
def expected = csv("tests/data/input/chr20-unphased/scores.expected.txt")
//TODO: check which expected file is correct! (m3vcf vs msav)
//def expected = csv("tests/data/input/chr20-unphased/scores.expected.txt")
def expected = csv("tests/data/input/pgs/expected.txt")
def actual = csv("${outputDir}/scores.txt")
assertTableEquals actual, expected
}
Expand Down Expand Up @@ -83,7 +84,9 @@ nextflow_pipeline {
log.text
).match()

def expected = csv("tests/data/input/chr20-unphased/scores.expected.txt")
//TODO: check which expected file is correct! (m3vcf vs msav)
//def expected = csv("tests/data/input/chr20-unphased/scores.expected.txt")
def expected = csv("tests/data/input/pgs/expected.txt")

def actual = csv("${outputDir}/scores.txt")
with(actual){
Expand Down

0 comments on commit e372a6d

Please sign in to comment.