Skip to content
Snippets Groups Projects
Commit b3e59a85 authored by Christoph Knote's avatar Christoph Knote
Browse files

Do not run if already running in asynch mode

parent 6e58be3f
Branches
Tags
No related merge requests found
......@@ -227,6 +227,10 @@ class Experiment:
:param bool dumbOutput: Only load references to output files, instead of loading data? (faster, but not usable for analysis)
:param bool asynchronous: Run asynchronous?
'''
if asynchronous:
if self.running:
return
self.namelist.write(os.path.join(self.path, 'BOXMOX.nml'))
for type in self.input:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment