diff options
author | Aaron LI <aly@aaronly.me> | 2017-10-30 15:43:19 +0800 |
---|---|---|
committer | Aaron LI <aly@aaronly.me> | 2017-10-30 15:43:50 +0800 |
commit | b9ea82cebbbebf7093495129b1a97767e0d33c5e (patch) | |
tree | 05e59c32368b50afcece936b610692e427ce485d | |
parent | 1e5f758412105f25bfbeb38423657506f6dcb0e5 (diff) | |
download | atoolbox-b9ea82cebbbebf7093495129b1a97767e0d33c5e.tar.bz2 |
run_oskar.py: always print the OSKAR simulator command
-rwxr-xr-x | astro/oskar/run_oskar.py | 4 |
1 files changed, 2 insertions, 2 deletions
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) |