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

Fix checks

parent 481a7a96
No related branches found
No related tags found
No related merge requests found
......@@ -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")
}
......
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