We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 445f6b3 commit 2978c8bCopy full SHA for 2978c8b
cwltool/docker.py
@@ -420,7 +420,7 @@ def create_runtime(
420
runtime.append("--memory=%dm" % self.builder.resources["ram"])
421
elif not user_space_docker_cmd:
422
res_req, _ = self.builder.get_requirement("ResourceRequirement")
423
- if res_req is not None and ("ramMin" in res_req or "ramMax" is res_req):
+ if res_req and ("ramMin" in res_req or "ramMax" in res_req):
424
_logger.warning(
425
"[job %s] Skipping Docker software container '--memory' limit "
426
"despite presence of ResourceRequirement with ramMin "
0 commit comments