Skip to content
Snippets Groups Projects
Commit 64e80aba authored by mads's avatar mads
Browse files

add is_done=true to cluster_simulation.py

parent 419c2f59
No related branches found
No related tags found
No related merge requests found
...@@ -11,6 +11,7 @@ class ClusterSimulation(Simulation): ...@@ -11,6 +11,7 @@ class ClusterSimulation(Simulation):
self.non_blocking_simulation_thread = Thread(target=self.simulate) self.non_blocking_simulation_thread = Thread(target=self.simulate)
self.start(1) self.start(1)
self.wait() self.wait()
self.is_done = True
print (self.host.simulationThread.res[1]) # print hawc2 output to stdout print (self.host.simulationThread.res[1]) # print hawc2 output to stdout
sys.exit(self.host.simulationThread.res[0]) sys.exit(self.host.simulationThread.res[0])
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment