Skip to content

Commit

Permalink
reverting to default in _Engine.py
Browse files Browse the repository at this point in the history
Reverting to the default mode, i.e. prevening hangups, in _Engine.py.
  • Loading branch information
fzahari committed Jul 9, 2016
1 parent 1cf7b8f commit d724337
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ParFit/_Engine.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,9 @@ def pert_add_param(add_name):

def run_engine_timeout(engine_path,coengine_name,timeout):
os.chdir("../Data/Engine")
#status=RunCmd([engine_path+"/engine.x",coengine_name],timeout).Run()
os.system(engine_path+"/engine.x "+coengine_name)
status=True
status=RunCmd([engine_path+"/engine.x",coengine_name],timeout).Run()
#os.system(engine_path+"/engine.x "+coengine_name)
#status=True
os.chdir("../../ParFit")
return status

Expand Down

0 comments on commit d724337

Please sign in to comment.