HDF-NI / hdf5.node

A node module for reading/writing the HDF5 file format.
MIT License
123 stars 40 forks source link

consolidating attribute refresh code #90

Closed rimmartin closed 5 years ago

rimmartin commented 6 years ago

Removing hl dependencies so more classes and types can be handled

For datasets the refresh may need to be optional.

getDatasetAttributes gets them without the dataset data being read. So if the user gets the attributes this way they may not like them also automatically read as properties on to the dataset object.

However consolidating the same refresh code makes the attributes gets consistent attribute properties returned to the js side and helps get more types and classes handled