diff --git a/cwltool/singularity.py b/cwltool/singularity.py index d0e46fb27..44f9cbb3f 100644 --- a/cwltool/singularity.py +++ b/cwltool/singularity.py @@ -136,13 +136,13 @@ def is_version_3_10_or_newer() -> bool: def _normalize_image_id(string: str) -> str: if ":" not in string: string += "_latest" - return string.replace("/", "_") + ".img" + return string.replace(":", "_") + ".img" def _normalize_sif_id(string: str) -> str: if ":" not in string: string += "_latest" - return string.replace("/", "_") + ".sif" + return string.replace(":", "_") + ".sif" class SingularityCommandLineJob(ContainerCommandLineJob):