Skip to content

Commit

Permalink
Set int env values as str in singularity engine (#816)
Browse files Browse the repository at this point in the history
  • Loading branch information
JayjeetAtGithub committed Apr 25, 2020
1 parent 414f76e commit 994c8ec
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cli/popper/runner_host.py
Original file line number Diff line number Diff line change
Expand Up @@ -422,7 +422,7 @@ def _singularity_start(self, step, cid):

# set the environment variables
for k, v in env.items():
os.environ[k] = v
os.environ[k] = str(v)

args = step.get('args', None)
runs = step.get('runs', None)
Expand Down
2 changes: 1 addition & 1 deletion cli/popper/runner_slurm.py
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ def run(self, step):
def _create_cmd(self, step, cid):
env = SlurmRunner.prepare_environment(step)
for k, v in env.items():
os.environ[k] = v
os.environ[k] = str(v)

args = step.get('args', '')
runs = step.get('runs', '')
Expand Down

0 comments on commit 994c8ec

Please sign in to comment.