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

Changing error text

parent 69a3c90f
......@@ -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")
}
}
......
Markdown is supported
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