Commit afc95da7 authored by Eric Pellegrini's avatar Eric Pellegrini
Browse files

bug fix when writing HDF attributes to ipywidgets HTML widget

parent d22a6c29
......@@ -132,7 +132,7 @@ class HDFViewer(widgets.Accordion):
attributesAccordion = widgets.Accordion()
for idx, (key, value) in enumerate(self._hdf[self._startPath].attrs.items()):
attributesAccordion.children = list(
attributesAccordion.children) + [widgets.HTML(value)]
attributesAccordion.children) + [widgets.HTML(str(value))]
attributesAccordion.set_title(idx, key)
# Setup the groups and datasets accordion
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment