Skip to content

Commit

Permalink
support singularity-ce
Browse files Browse the repository at this point in the history
Fixes #1545
  • Loading branch information
mr-c committed Oct 14, 2021
1 parent 5f99327 commit b4f2519
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cwltool/singularity.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ def get_version() -> str:
).strip()
if _SINGULARITY_VERSION.startswith("singularity version "):
_SINGULARITY_VERSION = _SINGULARITY_VERSION[20:]
if _SINGULARITY_VERSION.startswith("singularity-ce version "):
_SINGULARITY_VERSION = _SINGULARITY_VERSION[23:]
_logger.debug(f"Singularity version: {_SINGULARITY_VERSION}.")
return _SINGULARITY_VERSION

Expand Down

0 comments on commit b4f2519

Please sign in to comment.