Skip to content

Commit 4a38e11

Browse files
json loader -> ConfigParser in template zip (#5143)
Signed-off-by: Mingxin Zheng <18563433+mingxin-zheng@users.noreply.github.com> Fixes datalist loader ### Types of changes <!--- Put an `x` in all the boxes that apply, and remove the not applicable items --> - [x] Non-breaking change (fix or new feature that would not break existing functionality). Signed-off-by: Mingxin Zheng <18563433+mingxin-zheng@users.noreply.github.com>
1 parent 548160a commit 4a38e11

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

monai/apps/auto3dseg/bundle_gen.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
2828
from monai.utils import ensure_tuple
2929

3030
logger = get_logger(module_name=__name__)
31+
ALGO_HASH = os.environ.get("MONAI_ALGO_HASH", "f76fb58")
3132

3233
__all__ = ["BundleAlgo", "BundleGen"]
3334

@@ -275,7 +276,7 @@ def get_output_path(self):
275276

276277
# path to download the algo_templates
277278
default_algo_zip = (
278-
"https://github.com/Project-MONAI/research-contributions/releases/download/algo_templates/49d6212.tar.gz"
279+
f"https://github.com/Project-MONAI/research-contributions/releases/download/algo_templates/{ALGO_HASH}.tar.gz"
279280
)
280281

281282
# default algorithms

0 commit comments

Comments
 (0)