From fe0dfcd82bdefb46be9e81977770d7339acf6989 Mon Sep 17 00:00:00 2001 From: Wenqi Li Date: Wed, 6 Sep 2023 17:25:29 +0100 Subject: [PATCH] configurable syntax Signed-off-by: Wenqi Li --- monai/bundle/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/monai/bundle/utils.py b/monai/bundle/utils.py index 62d4975d94c..a98515157c6 100644 --- a/monai/bundle/utils.py +++ b/monai/bundle/utils.py @@ -24,7 +24,7 @@ __all__ = ["ID_REF_KEY", "ID_SEP_KEY", "EXPR_KEY", "MACRO_KEY", "DEFAULT_MLFLOW_SETTINGS", "DEFAULT_EXP_MGMT_SETTINGS"] ID_REF_KEY = "@" # start of a reference to a ConfigItem -ID_SEP_KEY = "#" # separator for the ID of a ConfigItem +ID_SEP_KEY = os.environ.get("MONAI_BUNDLE_SEP", "#") # separator for the ID of a ConfigItem EXPR_KEY = "$" # start of a ConfigExpression MACRO_KEY = "%" # start of a macro of a config