From b9ea82cebbbebf7093495129b1a97767e0d33c5e Mon Sep 17 00:00:00 2001 From: Aaron LI Date: Mon, 30 Oct 2017 15:43:19 +0800 Subject: run_oskar.py: always print the OSKAR simulator command --- astro/oskar/run_oskar.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'astro') diff --git a/astro/oskar/run_oskar.py b/astro/oskar/run_oskar.py index dd55251..3e4f13f 100755 --- a/astro/oskar/run_oskar.py +++ b/astro/oskar/run_oskar.py @@ -43,9 +43,9 @@ def run_oskar(configfile, model, freq, vis_ms, vis_oskar=None, print("-------------------------------------------------------------") print("Simulating %s @ %.2f [MHz] ..." % (model, freq)) cmd = [simulator, configfile] + print("CMD: %s" % " ".join(cmd)) if dryrun: - print("Dry run mode!") - print("CMD: %s" % " ".join(cmd)) + print("Dry run mode -> DONE!") else: t1 = time() subprocess.check_call(cmd) -- cgit v1.2.2