Skip to content

Commit

Permalink
Update src/torchio/transforms/augmentation/spatial/random_affine.py
Browse files Browse the repository at this point in the history
Co-authored-by: Fernando Pérez-García <fepegar@gmail.com>
  • Loading branch information
AminAlam and fepegar authored Apr 10, 2024
1 parent acdc1b0 commit 4930d19
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -448,7 +448,7 @@ def _parse_scales_isotropic(scales, isotropic):
'If "isotropic" is True, the value for "scales" must have'
f' length 1 or 2, but "{scales}" was passed.'
' If you want to set isotropic scaling, use a single value or two values as a range'
' for scaling factor. Refer to the documentation for more information.'
' for the scaling factor. Refer to the documentation for more information.'
)
raise ValueError(message)

Expand Down

0 comments on commit 4930d19

Please sign in to comment.