Skip to content

Commit

Permalink
More debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
rosteen committed Mar 13, 2024
1 parent 576c127 commit 274d1ea
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion jdaviz/configs/cubeviz/plugins/slice/slice.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@ def _initialize_location(self, *args):
# initialize value_unit (this has to wait until data is loaded to an existing
# slice_indicator_viewer, so we'll keep trying until it is set - after that, changes
# will be handled by a change to global display units)
print("Initializing slice location")
if not self.value_unit:
for viewer in self.slice_indicator_viewers:
# ignore while x_display_unit is unset or still degrees (before data transpose)
Expand Down Expand Up @@ -133,7 +134,7 @@ def slice_axis(self):

@property
def valid_slice_att_names(self):
return _spectral_axis_names + ['Pixel Axis 0 [z]']
return _spectral_axis_names + ['Pixel Axis 2 [x]']

@property
def slice_selection_viewers(self):
Expand Down

0 comments on commit 274d1ea

Please sign in to comment.