Skip to content

Commit 7382be1

Browse files
authored
support singularity-ce (#1547)
Fixes #1545
1 parent 5f99327 commit 7382be1

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

cwltool/singularity.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,8 @@ def get_version() -> str:
3131
).strip()
3232
if _SINGULARITY_VERSION.startswith("singularity version "):
3333
_SINGULARITY_VERSION = _SINGULARITY_VERSION[20:]
34+
if _SINGULARITY_VERSION.startswith("singularity-ce version "):
35+
_SINGULARITY_VERSION = _SINGULARITY_VERSION[23:]
3436
_logger.debug(f"Singularity version: {_SINGULARITY_VERSION}.")
3537
return _SINGULARITY_VERSION
3638

0 commit comments

Comments
 (0)