From fccacd41d8ffb3f897462cb68843eab9e124614e Mon Sep 17 00:00:00 2001
From: Shaman Narayanasamy <shaman.narayanasamy@uni.lu>
Date: Mon, 1 Jun 2015 16:56:22 +0200
Subject: [PATCH] Remove temp ec2pathway file

---
 rules/Util.rules | 1 +
 1 file changed, 1 insertion(+)

diff --git a/rules/Util.rules b/rules/Util.rules
index b672ffa..a84f2fe 100644
--- a/rules/Util.rules
+++ b/rules/Util.rules
@@ -231,5 +231,6 @@ rule _DOWNLOAD_KEGG_INFORMATION:
         """
         wget http://rest.kegg.jp/link/ec/pathway -O {DBPATH}/ec2pathway.txt.tmp
         grep "path:ec" {DBPATH}/ec2pathway.txt.tmp | sed -e 's/path:ec//g' | sed -e 's/ec://g' > {DBPATH}/ec2pathway.txt
+        rm {DBPATH}/ec2pathway.txt.tmp
         """
 
-- 
GitLab