Skip to content

Commit b6fb2ab

Browse files
update format
Signed-off-by: Yiheng Wang <[email protected]>
1 parent 6f4e5cb commit b6fb2ab

File tree

2 files changed

+1
-6
lines changed

2 files changed

+1
-6
lines changed

monai/data/meta_tensor.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -532,11 +532,7 @@ def clone(self, **kwargs):
532532

533533
@staticmethod
534534
def ensure_torch_and_prune_meta(
535-
im: NdarrayTensor,
536-
meta: dict | None,
537-
simple_keys: bool = False,
538-
pattern: str | None = None,
539-
sep: str = ".",
535+
im: NdarrayTensor, meta: dict | None, simple_keys: bool = False, pattern: str | None = None, sep: str = "."
540536
):
541537
"""
542538
Convert the image to MetaTensor (when meta is not None). If `affine` is in the `meta` dictionary,

monai/transforms/io/array.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,6 @@ def __init__(
139139
prune_meta_pattern: str | None = None,
140140
prune_meta_sep: str = ".",
141141
expanduser: bool = True,
142-
device: None | str | torch.device = None,
143142
*args,
144143
**kwargs,
145144
) -> None:

0 commit comments

Comments
 (0)