Skip to content

Commit

Permalink
mypy fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
mr-c committed Jan 31, 2024
1 parent 2753b27 commit d116dcb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cwltool/docker.py
Original file line number Diff line number Diff line change
Expand Up @@ -431,7 +431,8 @@ def create_runtime(
)
shm_size_od, shm_bool = self.builder.get_requirement("http://commonwl.org/cwltool#ShmSize")
if shm_bool:
runtime.append(f"--shm-size={shm_size_od['shmSize']}")
shm_size = cast(CWLObjectType, shm_size_od)["shmSize"]
runtime.append(f"--shm-size={shm_size}")
return runtime, cidfile_path


Expand Down

0 comments on commit d116dcb

Please sign in to comment.