Commit 13da13e9 authored by bow's avatar bow
Browse files

Simplify ToolCommand.toolName value

parent 3a29a0ca
...@@ -3,10 +3,10 @@ package nl.lumc.sasc.biopet.core ...@@ -3,10 +3,10 @@ package nl.lumc.sasc.biopet.core
import org.broadinstitute.gatk.queue.util.Logging import org.broadinstitute.gatk.queue.util.Logging
abstract trait ToolCommand extends Logging { trait ToolCommand extends Logging {
lazy val toolName = this.getClass.getName lazy val toolName = this.getClass.getSimpleName
.split("\\$").last.split("\\.").last .split("\\$").last
def main(args: Array[String]) def main(args: Array[String])
} }
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