Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Yu HU
hdf-viewer
Commits
afc95da7
Commit
afc95da7
authored
Feb 22, 2019
by
Eric Pellegrini
Browse files
bug fix when writing HDF attributes to ipywidgets HTML widget
parent
d22a6c29
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/hdfviewer/widgets/HDFViewer.py
View file @
afc95da7
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment