diff --git a/fmriprep/utils/transforms.py b/fmriprep/utils/transforms.py index 0210f90f..7b36eb35 100644 --- a/fmriprep/utils/transforms.py +++ b/fmriprep/utils/transforms.py @@ -71,7 +71,10 @@ def load_ants_h5(filename: Path) -> nt.base.TransformBase: transform2 = h['TransformGroup']['2'] # Confirm these transformations are applicable - if transform2['TransformType'][:][0] != b'DisplacementFieldTransform_float_3_3': + if transform2['TransformType'][:][0] not in ( + b'DisplacementFieldTransform_float_3_3', + b'DisplacementFieldTransform_double_3_3', + ): msg = 'Unknown transform type [2]\n' for i in h['TransformGroup'].keys(): msg += f'[{i}]: {h["TransformGroup"][i]["TransformType"][:][0]}\n'