Skip to content

Commit 1158240

Browse files
committed
FIX: Set MRS type to Nifti1Extension for backwards compatibility
1 parent 96c8320 commit 1158240

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nibabel/nifti1.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -675,7 +675,7 @@ def _mangle(self, dataset: DicomDataset) -> bytes:
675675
(38, 'eval', NiftiExtension),
676676
(40, 'matlab', NiftiExtension),
677677
(42, 'quantiphyse', NiftiExtension),
678-
(44, 'mrs', NiftiExtension[dict[str, ty.Any]]),
678+
(44, 'mrs', Nifti1Extension),
679679
),
680680
fields=('code', 'label', 'handler'),
681681
)

0 commit comments

Comments
 (0)