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

Remove $ from class

parent ae404243
......@@ -11,7 +11,7 @@ trait ToolCommandFuntion extends BiopetJavaCommandLineFunction {
override def getVersion = Some("Biopet " + FullVersion)
override def freezeFieldValues(): Unit = {
javaMainClass = toolObject.getClass.getName.split("$").head
javaMainClass = toolObject.getClass.getName.takeWhile(_ != '$')
super.freezeFieldValues()
}
}
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