Skip to content

Commit

Permalink
json loader -> ConfigParser in template zip (#5143)
Browse files Browse the repository at this point in the history
Signed-off-by: Mingxin Zheng
<[email protected]>

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 <[email protected]>
  • Loading branch information
mingxin-zheng authored Sep 14, 2022
1 parent 548160a commit 4a38e11
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion monai/apps/auto3dseg/bundle_gen.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
from monai.utils import ensure_tuple

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

__all__ = ["BundleAlgo", "BundleGen"]

Expand Down Expand Up @@ -275,7 +276,7 @@ def get_output_path(self):

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

# default algorithms
Expand Down

0 comments on commit 4a38e11

Please sign in to comment.