Skip to content

Commit

Permalink
Merge pull request #142 from iiasa/develop
Browse files Browse the repository at this point in the history
✔️ calibration .sh execute permission on linux
  • Loading branch information
mikhailsmilovic authored Jul 3, 2024
2 parents 2c70f2c + 2609c38 commit 31ed493
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Toolkit/Calibration/scripts/calibration_single.py
Original file line number Diff line number Diff line change
Expand Up @@ -217,6 +217,7 @@ def RunModel(Individual):
if use_multiprocessing == 0:
template_bat_new = template_bat_new.split()[0] + " " + template_bat_new.split()[1] + " " + template_bat_new.split()[2] + " -l"
f = open(runfile, "w")
os.chmod(runfile, 0o744)
f.write(template_bat_new)
f.close()

Expand Down Expand Up @@ -539,6 +540,7 @@ def wrappper(*args, **kargs):
else:
runfile = runfile + ".sh"
f = open(runfile, "w")
os.chmod(runfile, 0o744)
f.write(template_bat_new)
f.close()

Expand Down

0 comments on commit 31ed493

Please sign in to comment.