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