Skip to content

Commit

Permalink
Wrap proposed line in transforms.py
Browse files Browse the repository at this point in the history
Wrap line to stay under style limits
  • Loading branch information
kjamison authored May 14, 2024
1 parent 97ec311 commit 0b3774b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion fmriprep/utils/transforms.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,8 @@ def load_ants_h5(filename: Path) -> nt.base.TransformBase:
transform2 = h['TransformGroup']['2']

# Confirm these transformations are applicable
if transform2['TransformType'][:][0] not in (b'DisplacementFieldTransform_float_3_3', b'DisplacementFieldTransform_double_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'
Expand Down

0 comments on commit 0b3774b

Please sign in to comment.