From 20a3fa017363aa69778e1dc05d5deb91a6f1293a Mon Sep 17 00:00:00 2001 From: Aaron LI Date: Fri, 24 Nov 2017 21:06:08 +0800 Subject: astro/ps2d.py: Update logging format Also close the logfile for astro/oskar/wsclean.py --- astro/oskar/wsclean.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'astro/oskar') diff --git a/astro/oskar/wsclean.py b/astro/oskar/wsclean.py index 76e9229..511bb70 100755 --- a/astro/oskar/wsclean.py +++ b/astro/oskar/wsclean.py @@ -206,6 +206,9 @@ def main(): # Remove the output "-image" since it is identical to "-dirty" os.remove(nameprefix+"-image.fits") + if logfile: + logfile.close() + if __name__ == "__main__": main() -- cgit v1.2.2