Skip to content

Commit

Permalink
Bump ipytree
Browse files Browse the repository at this point in the history
  • Loading branch information
nvictus committed Jan 12, 2023
1 parent 14c743a commit 6b8fa73
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
4 changes: 2 additions & 2 deletions cooler/fileops.py
Original file line number Diff line number Diff line change
Expand Up @@ -434,9 +434,9 @@ def __unicode__(self):
def __repr__(self):
return self.__unicode__()

def _ipython_display_(self):
def _repr_mimebundle_(self):
tree = tree_widget(self.group, expand=self.expand, level=self.level)
tree._ipython_display_()
tree._repr_mimebundle_()
return tree


Expand Down
3 changes: 2 additions & 1 deletion requirements-dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
biopython
coverage[toml]
dask[array,dataframe]
ipytree
ipytree>=0.2.2
ipywidgets>=8.0.0
matplotlib
mock
psutil
Expand Down
2 changes: 1 addition & 1 deletion tests/test_fileops.py
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ def test_print_trees():

with h5py.File(src_file) as f:
t = fileops.TreeViewer(f)
t._ipython_display_()
t._repr_mimebundle_()


def test_is_scool_file():
Expand Down

0 comments on commit 6b8fa73

Please sign in to comment.