We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8cc6175 commit 501bc45Copy full SHA for 501bc45
monai/data/meta_tensor.py
@@ -479,7 +479,7 @@ def pixdim(self):
479
480
def set_pixdim(self) -> None:
481
"""Update pixdim based on current affine."""
482
- self.meta[MetaKeys.PIXDIM][1:1+len(self.pixdim)] = affine_to_spacing(self.affine)
+ self.meta[MetaKeys.PIXDIM][1 : 1 + len(self.pixdim)] = affine_to_spacing(self.affine)
483
484
def peek_pending_shape(self):
485
"""
0 commit comments