Skip to content
Snippets Groups Projects
Commit 44c3611e authored by Sander Bollen's avatar Sander Bollen
Browse files

more spelling

parent 92c23be4
No related branches found
No related tags found
No related merge requests found
......@@ -96,10 +96,10 @@ object VcfToTsv extends ToolCommand {
else false
})
val witter = if (commandArgs.outputFile != null) new PrintStream(commandArgs.outputFile)
val writer = if (commandArgs.outputFile != null) new PrintStream(commandArgs.outputFile)
else sys.process.stdout
witter.println(sortedFields.mkString("#", "\t", ""))
writer.println(sortedFields.mkString("#", "\t", ""))
for (vcfRecord <- reader) {
val values: Map[String, Any] = Map()
values += "CHROM" -> vcfRecord.getChr
......@@ -142,7 +142,7 @@ object VcfToTsv extends ToolCommand {
values(f)
} else ""
}
witter.println(line.mkString("\t"))
writer.println(line.mkString("\t"))
}
}
}
\ No newline at end of file
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