Commit 600c5f11 authored by Peter van 't Hof's avatar Peter van 't Hof
Browse files

Fix for multiple tabs in contams file

parent f73038d3
......@@ -52,8 +52,8 @@ class Fastqc(root: Configurable) extends nl.lumc.sasc.biopet.extensions.Fastqc(r
def getSeqs(file: File) = {
if (file != null) {
(for (
line <- Source.fromFile(file).getLines() if line.startsWith("#");
values = line.split("\t") if values.size >= 2
line <- Source.fromFile(file).getLines(); if line.startsWith("#");
values = line.split("\t*") if values.size >= 2
) yield Sequence(values(0), values(1))).toList
} else Nil
}
......
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