Skip to content
Snippets Groups Projects
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
No related branches found
No related tags found
No related merge requests found
......@@ -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)))
......
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