Commit b0795a75 authored by Sander van der Zeeuw's avatar Sander van der Zeeuw
Browse files

Fix the test of seqstat, so that develop can build again

parent 2b7a4f2f
...@@ -89,10 +89,10 @@ class SeqStatTest extends TestNGSuite with MockitoSugar with Matchers { ...@@ -89,10 +89,10 @@ class SeqStatTest extends TestNGSuite with MockitoSugar with Matchers {
val seqstat = SeqStat val seqstat = SeqStat
baseHistogram(40) shouldEqual 5 baseHistogram(40) shouldEqual 5
baseHistogram(39) shouldEqual 10 baseHistogram(39) shouldEqual 5
baseHistogram(34) shouldEqual 15 baseHistogram(34) shouldEqual 5
baseHistogram(33) shouldEqual 20 baseHistogram(33) shouldEqual 5
baseHistogram(0) shouldEqual 20 baseHistogram(0) shouldEqual 5
} }
@Test def testArgsMinimum() = { @Test def testArgsMinimum() = {
......
...@@ -125,7 +125,7 @@ class Fastqc(root: Configurable) extends nl.lumc.sasc.biopet.extensions.Fastqc(r ...@@ -125,7 +125,7 @@ class Fastqc(root: Configurable) extends nl.lumc.sasc.biopet.extensions.Fastqc(r
line <- qcModule.lines if !(line.startsWith("#") || line.startsWith(">")); line <- qcModule.lines if !(line.startsWith("#") || line.startsWith(">"));
values = line.split("\t") if values.size == 7 values = line.split("\t") if values.size == 7
} yield (values(0), BasePositionStats(values(1).toDouble, values(2).toDouble, values(3).toDouble, } yield (values(0), BasePositionStats(values(1).toDouble, values(2).toDouble, values(3).toDouble,
values(4).toDouble, values(5).toDouble, values(6).toDouble).toMap) values(4).toDouble, values(5).toDouble, values(6).toDouble).toMap)
tableContents.toMap tableContents.toMap
} }
} else Map() } else Map()
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment