Skip to content

Commit 052ef64

Browse files
Add original_dataset_name to nnunet_plans in preprocess function
1 parent 5c633f2 commit 052ef64

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

monai/nvflare/nvflare_nnunet.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -198,6 +198,7 @@ def preprocess(nnunet_root_dir, dataset_name_or_id, nnunet_plans_file_path=None,
198198
if nnunet_plans_file_path is not None:
199199
with open(nnunet_plans_file_path, "r") as f:
200200
nnunet_plans = json.load(f)
201+
nnunet_plans["original_dataset_name"] = nnunet_plans["dataset_name"]
201202
nnunet_plans["dataset_name"] = dataset_name
202203
json.dump(
203204
nnunet_plans,

0 commit comments

Comments
 (0)