aboutsummaryrefslogtreecommitdiffstats
path: root/astro
diff options
context:
space:
mode:
authorAaron LI <aly@aaronly.me>2017-10-30 15:43:19 +0800
committerAaron LI <aly@aaronly.me>2017-10-30 15:43:50 +0800
commitb9ea82cebbbebf7093495129b1a97767e0d33c5e (patch)
tree05e59c32368b50afcece936b610692e427ce485d /astro
parent1e5f758412105f25bfbeb38423657506f6dcb0e5 (diff)
downloadatoolbox-b9ea82cebbbebf7093495129b1a97767e0d33c5e.tar.bz2
run_oskar.py: always print the OSKAR simulator command
Diffstat (limited to 'astro')
-rwxr-xr-xastro/oskar/run_oskar.py4
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)