Skip to content

Commit

Permalink
[MONAI] code formatting
Browse files Browse the repository at this point in the history
Signed-off-by: monai-bot <[email protected]>
  • Loading branch information
monai-bot committed Oct 16, 2023
1 parent 8a70678 commit 6463a4a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions monai/apps/deepedit/transforms.py
Original file line number Diff line number Diff line change
Expand Up @@ -664,7 +664,7 @@ def __call__(self, data):
meta_dict_key = self.meta_keys or f"{self.ref_image}_{self.meta_key_postfix}"
# extract affine matrix from metadata
if isinstance(d[self.ref_image], MetaTensor):
meta_dict = d[self.ref_image].meta # type: ignore
meta_dict = d[self.ref_image].meta
elif meta_dict_key in d:
meta_dict = d[meta_dict_key]
else:
Expand Down Expand Up @@ -710,7 +710,7 @@ def __call__(self, data):
meta_dict_key = "image_meta_dict"
# extract affine matrix from metadata
if isinstance(d[self.ref_image], MetaTensor):
meta_dict = d[self.ref_image].meta # type: ignore
meta_dict = d[self.ref_image].meta
elif meta_dict_key in d:
meta_dict = d[meta_dict_key]
else:
Expand Down

0 comments on commit 6463a4a

Please sign in to comment.