Skip to content

Commit

Permalink
this
Browse files Browse the repository at this point in the history
  • Loading branch information
hainm committed Nov 28, 2024
1 parent b4e79c3 commit 6c1e654
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion nglview/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
def _jupyter_nbextension_paths():
return [{
'section': 'notebook',
'src': 'static',
'src': 'nbextension',
'dest': 'nglview-js-widgets',
'require': 'nglview-js-widgets/extension'
}]
Expand Down
5 changes: 2 additions & 3 deletions tests/test_widget.py
Original file line number Diff line number Diff line change
Expand Up @@ -706,9 +706,8 @@ def copy_coordinate_dict(view):

def test_existing_js_files():
from glob import glob
jsfiles = glob(os.path.join(os.path.dirname(nv.__file__), 'static', '*js'))
mapfiles = glob(os.path.join(os.path.dirname(nv.__file__), 'static',
'*map'))
jsfiles = glob(os.path.join(os.path.dirname(nv.__file__), 'nbextension', '*js'))
mapfiles = glob(os.path.join(os.path.dirname(nv.__file__), 'nbextension', '*map'))

assert len(jsfiles) == 2
assert len(mapfiles) == 1
Expand Down

0 comments on commit 6c1e654

Please sign in to comment.