MCPcopy Index your code
hub / github.com/Project-MONAI/MONAI / _remove_ngc_prefix

Function _remove_ngc_prefix

monai/bundle/scripts.py:223–226  ·  view source on GitHub ↗
(name: str, prefix: str = "monai_")

Source from the content-addressed store, hash-verified

221
222
223def _remove_ngc_prefix(name: str, prefix: str = "monai_") -> str:
224 if name.startswith(prefix):
225 return name[len(prefix) :]
226 return name
227
228
229def _get_all_download_files(request_url: str, headers: dict | None = None) -> list[str]:

Callers 3

_download_from_ngcFunction · 0.85
loadFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…