From 44c3611ec3cb11ddca1e24e1de5004b4ec658864 Mon Sep 17 00:00:00 2001 From: Sander Bollen <a.h.b.bollen@lumc.nl> Date: Mon, 13 Apr 2015 10:51:10 +0200 Subject: [PATCH] more spelling --- .../src/main/scala/nl/lumc/sasc/biopet/tools/VcfToTsv.scala | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/public/biopet-framework/src/main/scala/nl/lumc/sasc/biopet/tools/VcfToTsv.scala b/public/biopet-framework/src/main/scala/nl/lumc/sasc/biopet/tools/VcfToTsv.scala index 37d2470a7..063eca3d7 100644 --- a/public/biopet-framework/src/main/scala/nl/lumc/sasc/biopet/tools/VcfToTsv.scala +++ b/public/biopet-framework/src/main/scala/nl/lumc/sasc/biopet/tools/VcfToTsv.scala @@ -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 -- GitLab