File tree Expand file tree Collapse file tree 1 file changed +1
-5
lines changed
Expand file tree Collapse file tree 1 file changed +1
-5
lines changed Original file line number Diff line number Diff line change @@ -312,10 +312,6 @@ def _get_ngc_token(api_key, retry=0):
312312 return token
313313
314314
315- def _get_latest_bundle_version_monaihosting (name ):
316- return get_bundle_versions (name , repo = "Project-MONAI/model-zoo" , tag = "dev" )["latest_version" ]
317-
318-
319315def _examine_monai_version (monai_version : str ) -> tuple [bool , str ]:
320316 """Examine if the package version is compatible with the MONAI version in the metadata."""
321317 version_dict = get_versions ()
@@ -419,7 +415,7 @@ def _get_latest_bundle_version(
419415 name = _add_ngc_prefix (name )
420416 return _get_latest_bundle_version_ngc (name )
421417 elif source == "monaihosting" :
422- return _get_latest_bundle_version_monaihosting (name )
418+ return get_bundle_versions (name , repo = "Project-MONAI/model-zoo" , tag = "dev" )[ "latest_version" ]
423419 elif source == "ngc_private" :
424420 headers = kwargs .pop ("headers" , {})
425421 name = _add_ngc_prefix (name )
You can’t perform that action at this time.
0 commit comments