Commit 97d82bfc authored by Peter van 't Hof's avatar Peter van 't Hof

Rename id to report

parent ff41dff0
......@@ -64,7 +64,7 @@ class DownloadGenomes(val root: Configurable) extends QScript with BiopetQScript
val fastaFile = new File(genomeDir, "reference.fa")
val downloadFastaFile = new File(genomeDir, "download.reference.fa")
genomeConfig.get("ncbi_assembly_id") match {
genomeConfig.get("ncbi_assembly_report") match {
case Some(assemblyID: String) =>
val downloadAssembly = new DownloadNcbiAssembly(this)
downloadAssembly.assemblyId = assemblyID
......
......@@ -45,7 +45,7 @@ class DownloadGenomesTest extends TestNGSuite with Matchers {
@Test
def testNcbiAssembly(): Unit = {
val pipeline = initPipeline(Map())
pipeline.referenceConfig = Map("s1" -> Map("g1" -> Map("ncbi_assembly_id" -> "id")))
pipeline.referenceConfig = Map("s1" -> Map("g1" -> Map("ncbi_assembly_report" -> "id")))
noException should be thrownBy pipeline.script()
}
......
Markdown is supported
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