Commit e7667c93 authored by Peter van 't Hof's avatar Peter van 't Hof
Browse files

Added java match

parent b806eaec
......@@ -63,6 +63,7 @@ class GenerateIndexes(val root: Configurable) extends QScript with BiopetQScript
val fastaUris = genomeConfig.getOrElse("fasta_uri",
throw new IllegalArgumentException(s"No fasta_uri found for $speciesName - $genomeName")) match {
case a: Traversable[_] =>
case a: util.ArrayList[_] =>
case a => Array(a.toString)
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