Commit cf39c3b8 authored by Sander Bollen's avatar Sander Bollen
Browse files

fix errmsg

parent 4674167b
......@@ -153,9 +153,9 @@ class VariantEffectPredictor(val root: Configurable) extends BiopetCommandLineFu
override def beforeGraph(): Unit = {
super.beforeGraph()
if (!cache && !database) {
Logging.addError("Must supply either cache or database for VariantEffectPredictor")
Logging.addError("Must either set 'cache' or 'database' to true for VariantEffectPredictor")
} else if (cache && dir.isEmpty) {
Logging.addError("Must supply dir to cache for VariantEffectPredictor")
Logging.addError("Must supply 'dir_cache' to cache for VariantEffectPredictor")
}
if (statsText) outputFiles :+= new File(output.getAbsolutePath + "_summary.txt")
}
......
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