prjemian / punx

Python Utilities for NeXus HDF5 files
https://prjemian.github.io/punx
5 stars 7 forks source link

NXDL__group attributes dictionary values #165

Open prjemian opened 2 years ago

prjemian commented 2 years ago

While developing better unit tests for the nxdl_manager module (#163), noticed this line: https://github.com/prjemian/punx/blob/f0e707d1545e75b8aa5184334454849f03e24d38/punx/nxdl_manager.py#L527

The consequences are that the values in the group's .attributes dictionary are text values directly from the XML rather than instances of nxdl_manager.NXDL__attribute.

Seems irregular. Why is this? Should it be changed?

prjemian commented 2 years ago

Still there: https://github.com/prjemian/punx/blob/af8eefc5b2dc65af7739fb0fee65d917126fbf1e/punx/nxdl_manager.py#L630