Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Mirrors
biopet.biopet
Commits
13da13e9
Commit
13da13e9
authored
Oct 07, 2014
by
bow
Browse files
Simplify ToolCommand.toolName value
parent
3a29a0ca
Changes
1
Hide whitespace changes
Inline
Side-by-side
biopet-framework/src/main/scala/nl/lumc/sasc/biopet/core/ToolCommand.scala
View file @
13da13e9
...
...
@@ -3,10 +3,10 @@ package nl.lumc.sasc.biopet.core
import
org.broadinstitute.gatk.queue.util.Logging
abstract
trait
ToolCommand
extends
Logging
{
trait
ToolCommand
extends
Logging
{
lazy
val
toolName
=
this
.
getClass
.
getName
.
split
(
"\\$"
).
last
.
split
(
"\\."
).
last
lazy
val
toolName
=
this
.
getClass
.
get
Simple
Name
.
split
(
"\\$"
).
last
def
main
(
args
:
Array
[
String
])
}
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment