Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Jul 26, 2024
1 parent 8163101 commit 52a640f
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions brainglobe_registration/registration_widget.py
Original file line number Diff line number Diff line change
Expand Up @@ -444,9 +444,7 @@ def _on_adjust_atlas_rotation(self, pitch: float, yaw: float, roll: float):
# 2. Rotate the image
# 3. Translate the origin back to the top left corner
transform_matrix = (
translate_matrix
@ full_matrix
@ post_rotate_translation
translate_matrix @ full_matrix @ post_rotate_translation
)

self._atlas_data_layer.data = dask_affine_transform(
Expand Down

0 comments on commit 52a640f

Please sign in to comment.