Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fixes unseccessful ckecks. (if mapping_json_path is not None)

Signed-off-by: staydelight <[email protected]>
  • Loading branch information
staydelight committed Jun 13, 2024
1 parent 682379b commit 56d8df5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion monai/transforms/io/array.py
Original file line number Diff line number Diff line change
Expand Up @@ -440,7 +440,7 @@ def __init__(
self.write_kwargs = {"verbose": print_log}
self._data_index = 0
self.savepath_in_metadict = savepath_in_metadict
if mapping_json_path:
if mapping_json_path is not None:
self.mapping_json_path = Path(mapping_json_path)
self.savepath_in_metadict = True
else:
Expand Down

0 comments on commit 56d8df5

Please sign in to comment.