From 11f175514aee611c5d6ff12952f96081c5984ca5 Mon Sep 17 00:00:00 2001
From: Peter van 't Hof <p.j.van_t_hof@lumc.nl>
Date: Mon, 11 Apr 2016 09:13:06 +0200
Subject: [PATCH] Fixed remove temp file

---
 .../nl/lumc/sasc/biopet/pipelines/gwastest/GwasTestTest.scala    | 1 +
 1 file changed, 1 insertion(+)

diff --git a/public/gwas-test/src/test/scala/nl/lumc/sasc/biopet/pipelines/gwastest/GwasTestTest.scala b/public/gwas-test/src/test/scala/nl/lumc/sasc/biopet/pipelines/gwastest/GwasTestTest.scala
index a5f66aa1e..001ca44ce 100644
--- a/public/gwas-test/src/test/scala/nl/lumc/sasc/biopet/pipelines/gwastest/GwasTestTest.scala
+++ b/public/gwas-test/src/test/scala/nl/lumc/sasc/biopet/pipelines/gwastest/GwasTestTest.scala
@@ -76,6 +76,7 @@ object GwasTestTest {
   vcfFile.deleteOnExit()
 
   val phenotypeFile = File.createTempFile("gwas.", ".txt")
+  phenotypeFile.deleteOnExit()
 
   val outputDir = Files.createTempDir()
   outputDir.deleteOnExit()
-- 
GitLab