Skip to content
Snippets Groups Projects
Commit e2c9fe3a authored by Peter van 't Hof's avatar Peter van 't Hof
Browse files

Correct tests

parent 605a588e
No related branches found
No related tags found
No related merge requests found
......@@ -49,7 +49,7 @@ class Toucan(val root: Configurable) extends QScript with BiopetQScript with Sum
lazy val minScatterGenomeSize: Long = config("min_scatter_genome_size", default = 75000000)
lazy val enableScatter: Boolean = config("enable_scater", default = {
lazy val enableScatter: Boolean = config("enable_scatter", default = {
val ref = new FastaSequenceFile(referenceFasta(), true)
val refLenght = ref.getSequenceDictionary.getReferenceLength
ref.close()
......
......@@ -37,7 +37,7 @@ class ToucanTest extends TestNGSuite with Matchers {
@Test
def testBinning(): Unit = {
val pipeline = initPipeline(ToucanTest.config ++ Map("bin_size" -> 4000))
val pipeline = initPipeline(ToucanTest.config ++ Map("bin_size" -> 4000, "min_scatter_genome_size" -> 1000))
pipeline.inputVcf = new File(ToucanTest.resourcePath("/chrQ2.vcf.gz"))
pipeline.script()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment