Skip to content
Snippets Groups Projects
Commit d7efc98b authored by Peter van 't Hof's avatar Peter van 't Hof
Browse files

Changing error text

parent 69a3c90f
No related branches found
No related tags found
No related merge requests found
......@@ -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")
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment