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

Fix checks

parent 481a7a96
......@@ -129,7 +129,7 @@ class Sage(val root: Configurable) extends QScript with MultiSampleQScript {
if (!outputDir.endsWith("/")) outputDir += "/"
if (transcriptome.isEmpty && tagsLibrary.isEmpty)
throw new IllegalStateException("No transcriptome or taglib found")
if (countBed == null && squishedCountBed == null)
if (countBed.isEmpty && squishedCountBed.isEmpty)
throw new IllegalStateException("No bedfile supplied, please add a countBed or squishedCountBed")
}
......
Supports Markdown
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