Skip to content

Commit

Permalink
fix import in test
Browse files Browse the repository at this point in the history
(needed for "move code to allow importing slice mixins without circular imports")
  • Loading branch information
kecnry committed Jul 8, 2024
1 parent 611eb50 commit 1d4c6af
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion jdaviz/configs/imviz/plugins/tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ def _dragevent(self, data):
self._layer_state.contrast = contrast

def on_mouse_or_key_event(self, data):
from jdaviz.configs.imviz.helper import get_top_layer_index
from jdaviz.utils import get_top_layer_index

event = data['event']

Expand Down
2 changes: 1 addition & 1 deletion jdaviz/configs/imviz/tests/test_viewer_tools.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
from numpy.testing import assert_allclose

from jdaviz.configs.imviz.helper import get_top_layer_index
from jdaviz.utils import get_top_layer_index
from jdaviz.configs.imviz.tests.utils import BaseImviz_WCS_NoWCS


Expand Down

0 comments on commit 1d4c6af

Please sign in to comment.