Skip to content

Miscellaneous updates

Compare
Choose a tag to compare
@rayosborn rayosborn released this 06 Jan 18:04
7bffe81

This release is the first to require Python 3.

  • Speeds up the loading of NeXus files by limiting recursion of group reads to two levels in the hierarchy by default. Lower levels are automatically loaded when they are referenced. Fully recursive loading can be restored by calling the nxsetrecursive function.
  • Adds support for writing HDF5 soft links without the target attribute by adding the a boolean keyword argument, soft, when creating an NXlink. It is set to False by default.
  • Adds support for the interpretation attribute. If the NXdata signal field has the attribute set to 'rgb' or 'rgba', it is plotted as an image by default.
  • Changes the default text encoding to UTF-8, rather than using the system default. This is required by the NeXus standard.
  • Fixes a bug in the rename function preventing affected signal and axes attributes from being updated.
  • Fixes an issue with setting a NXfield dtype of kind 'S' without specifying its length caused by changes in h5py v3.