Commit 0b6db331 authored by Sander van der Zeeuw's avatar Sander van der Zeeuw
Browse files

changes in tool, since the checking for samples starting with a number went wrong.

parent abb2a281
......@@ -71,7 +71,7 @@ object SamplesTsvToJson extends ToolCommand {
val library = if (libraryColumn != -1) Some(values(libraryColumn)) else None
//FIXME: this is a workaround, should be removed after fixing #180
if (sample.head.isDigit || library.forall(_.head.isDigit))
if (sample.head.isDigit || library.exists(_.head.isDigit))
throw new IllegalStateException("Sample or library may not start with a number")
if (sampleLibCache.contains((sample, library)))
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