Skip to content

Commit

Permalink
Update scripts/miniapps.py
Browse files Browse the repository at this point in the history
Co-authored-by: Rocco Meli <r.meli@bluemail.ch>
  • Loading branch information
biddisco and RMeli authored Dec 13, 2023
1 parent e4c95ec commit ee78624
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/miniapps.py
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ def submitJobs(self, run_dir, debug=False):
launch_cmd = launch_cmd.format(job_path=job_path, job_file=job_file)
# get default SHELL if not specified
shell = environ["SHELL"]
if shell == None:
if shell is None:
raise ValueError(f"no $SHELL environemt variable found")
print(f"Submitting : {launch_cmd} using shell {shell}")

Expand Down

0 comments on commit ee78624

Please sign in to comment.