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

Added message to exception

parent b461b79a
No related branches found
No related tags found
No related merge requests found
...@@ -35,7 +35,7 @@ object BedRecord { ...@@ -35,7 +35,7 @@ object BedRecord {
values.lift(5) match { values.lift(5) match {
case Some("-") => false case Some("-") => false
case Some("+") => true case Some("+") => true
case _ => throw new IllegalStateException("") case _ => throw new IllegalStateException("Strand (column 6) must be '+' or '-'")
}, },
values.lift(6).map(_.toInt), values.lift(6).map(_.toInt),
values.lift(7)map(_.toInt), values.lift(7)map(_.toInt),
......
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