Skip to content

Commit

Permalink
Addres review comments
Browse files Browse the repository at this point in the history
  • Loading branch information
javerbukh committed Dec 17, 2024
1 parent 3081c4d commit 393031b
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion jdaviz/configs/cubeviz/plugins/tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ def _mouse_move_worker(self, x, y):
self._mark.visible = True

self.viewer.start_stream()
self.viewer.update_cube(x, y)
self.viewer.update_audified_cube(x, y)

self._profile_viewer.set_limits(
y_min=np.nanmin(y_values) * 0.8, y_max=np.nanmax(y_values) * 1.2)
2 changes: 1 addition & 1 deletion jdaviz/configs/cubeviz/plugins/viewers.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ def stop_stream(self):
if self.stream and not self.stream.closed and self.stream_active:
self.stream.stop()

def update_cube(self, x, y):
def update_audified_cube(self, x, y):
if (not self.audified_cube or not hasattr(self.audified_cube, 'newsig') or
not hasattr(self.audified_cube, 'sigcube')):
return
Expand Down
1 change: 0 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,6 @@ roman = [
]
strauss = [
"strauss",
"sounddevice"
]

[build-system]
Expand Down

0 comments on commit 393031b

Please sign in to comment.