From 64e80abac8bbfa2de92765d56374a9779f8379c5 Mon Sep 17 00:00:00 2001 From: madsmpedersen <m@madsp.dk> Date: Mon, 18 Apr 2016 10:50:44 +0200 Subject: [PATCH] add is_done=true to cluster_simulation.py --- wetb/hawc2/cluster_simulation.py | 1 + 1 file changed, 1 insertion(+) diff --git a/wetb/hawc2/cluster_simulation.py b/wetb/hawc2/cluster_simulation.py index c67377f..c588df9 100644 --- a/wetb/hawc2/cluster_simulation.py +++ b/wetb/hawc2/cluster_simulation.py @@ -11,6 +11,7 @@ class ClusterSimulation(Simulation): self.non_blocking_simulation_thread = Thread(target=self.simulate) self.start(1) self.wait() + self.is_done = True print (self.host.simulationThread.res[1]) # print hawc2 output to stdout sys.exit(self.host.simulationThread.res[0]) -- GitLab