From 096204cd79d86c232cb77ab349f49ca2baffaa68 Mon Sep 17 00:00:00 2001 From: Pratheek Shanthraj Date: Fri, 18 Jan 2013 11:39:53 +0000 Subject: [PATCH] corrected missing file renaming of output --- processing/pre/geom_rescale.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/processing/pre/geom_rescale.py b/processing/pre/geom_rescale.py index bdac064b2..0e9635e24 100755 --- a/processing/pre/geom_rescale.py +++ b/processing/pre/geom_rescale.py @@ -173,7 +173,8 @@ for file in files: file['output'].write(output) - file['input'].close() if file['name'] != 'STDIN': + file['input'].close() file['output'].close() + os.rename(file['name']+'_tmp',file['name']) \ No newline at end of file