Commit 13be64ac authored by Peter van 't Hof's avatar Peter van 't Hof

Remove second exception

parent 34b35a99
......@@ -64,8 +64,6 @@ object ExtractAlignedFastq extends ToolCommand {
inStrings.map {
case ptn1(chr, start, end) if intFromCoord(end) >= intFromCoord(start) => new Interval(chr, intFromCoord(start), intFromCoord(end))
case ptn1(chr, start, end) if intFromCoord(end) < intFromCoord(start) =>
throw new IllegalStateException(s"end is higher then start: $chr:$start-$end")
case ptn2(chr, start) =>
val startCoord = intFromCoord(start)
new Interval(chr, startCoord, startCoord)
......
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