Skip to content

Commit

Permalink
Fix indents
Browse files Browse the repository at this point in the history
  • Loading branch information
rosteen committed Apr 16, 2024
1 parent 55e818e commit 38b7c8b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions jdaviz/configs/imviz/plugins/orientation/orientation.py
Original file line number Diff line number Diff line change
Expand Up @@ -510,8 +510,8 @@ def create_north_up_east_left(self, label="North-up, East-left", set_on_create=F
if label not in self.orientation.choices:
degn = self._get_wcs_angles()[-3]
self._add_orientation(rotation_angle=degn, east_left=True,
label=label, set_on_create=set_on_create,
from_ui=from_ui)
label=label, set_on_create=set_on_create,
from_ui=from_ui)
elif set_on_create:
self.orientation.selected = label

Expand All @@ -524,8 +524,8 @@ def create_north_up_east_right(self, label="North-up, East-right", set_on_create
if label not in self.orientation.choices:
degn = self._get_wcs_angles()[-3]
self._add_orientation(rotation_angle=180 - degn, east_left=False,
label=label, set_on_create=set_on_create,
from_ui=from_ui)
label=label, set_on_create=set_on_create,
from_ui=from_ui)
elif set_on_create:
self.orientation.selected = label

Expand Down

0 comments on commit 38b7c8b

Please # to comment.