Commit b8ce6418 authored by Peter van 't Hof's avatar Peter van 't Hof

Fixed biom to krona

parent 4f2a0f07
......@@ -127,7 +127,7 @@ object GearsQiimeClosed {
taxonomy.foldLeft(root) { (a, b) =>
val n = b.split("__", 2)
val level = n(0)
val name = n(1)
val name = if (level == "Unassigned") "Unassigned" else n(1)
a.childs.find(_ == TaxNode(name, level)) match {
case Some(node) => node
case _ =>
......
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