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

Fixed small bug

parent 892540af
No related branches found
No related tags found
No related merge requests found
......@@ -83,7 +83,7 @@ class RawBaseCounter(val root: Configurable) extends BiopetCommandLineFunction {
}
override def beforeGraph(): Unit = {
if (annotationBed != null) Logging.addError("Annotation BED must be supplied")
if (annotationBed == null) Logging.addError("Annotation BED must be supplied")
require(output != null, "Output must be defined")
require((mixedStrand && !distinctStrand) || (!mixedStrand && distinctStrand),
"Invalid input BAM combinations for RawBaseCounter")
......
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