Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions cwltool/singularity.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down
Loading