Commit 768b11d5 authored by Peter van 't Hof's avatar Peter van 't Hof
Browse files

Fix for #117

parent c6b47c6b
......@@ -43,7 +43,7 @@ object SamplesTsvToJson extends ToolCommand {
val fileMaps = for (inputFile <- commandArgs.inputFiles) yield {
val reader = Source.fromFile(inputFile)
val lines = reader.getLines.toList
val lines = reader.getLines.toList.filter(!_.isEmpty)
val header = lines.head.split("\t")
val sampleColumn = header.indexOf("sample")
val libraryColumn = header.indexOf("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