Commit 8e1b1d70 authored by Peter van 't Hof's avatar Peter van 't Hof
Browse files

Merge branch 'fix-samplestsvtojson' into 'develop'

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

See merge request !285
parents abb2a281 0b6db331
......@@ -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