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
d7efc98b
Commit
d7efc98b
authored
Aug 01, 2015
by
Peter van 't Hof
Browse files
Changing error text
parent
69a3c90f
Changes
1
Hide whitespace changes
Inline
Side-by-side
public/biopet-framework/src/main/scala/nl/lumc/sasc/biopet/extensions/VariantEffectPredictor.scala
View file @
d7efc98b
...
...
@@ -144,9 +144,9 @@ class VariantEffectPredictor(val root: Configurable) extends BiopetCommandLineFu
override
def
beforeGraph
()
:
Unit
=
{
super
.
beforeGraph
()
if
(!
cache
&&
!
database
)
{
throw
new
IllegalArgumentException
(
"Must supply either cache or database"
)
throw
new
IllegalArgumentException
(
"Must supply either cache or database
for VariantEffectPredictor
"
)
}
else
if
(
cache
&&
dir
.
isEmpty
)
{
throw
new
IllegalArgumentException
(
"Must supply dir to cache"
)
throw
new
IllegalArgumentException
(
"Must supply dir to cache
for VariantEffectPredictor
"
)
}
}
...
...
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