Nexusformat

Latest version: v1.0.7

Safety actively analyzes 693883 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 7 of 11

0.4.13

* Traps `h5py` exceptions when an HDF5 file contains invalid attribute values. This ensures that the HDF5 file will still load.
* Improves writing of generic (*i.e.*, non-NeXus) HDF5 files by removing unneeded class attributes.
* Adds a Jupyter Notebook tutorial to the distribution.

0.4.12

* Fixes a bug when transposing axes in data projections, caused by the restrictions on changing the shape of an existing group item.
* Fixes a bug when renaming NXroot objects
* Fixes a bug in reading axes defined by byte strings
* Ensures that plotting axes that are also NXlinks do not use the parents' name, since these may be generic.
* Makes deep copies of linked items use the children's name, for similar reasons to the previous issue.
* New `sum` and `average` functions are added to NXfields.

0.4.11

* Fixes a bug with renaming fields or groups when the data have not been saved to a file.
* Improves error message when referencing missing attributes in an object without a parent group.

0.4.10

* Improves the handling of external links, especially if an externally linked group contains internal links.
* Improves error messages when overwriting existing fields, which is allowed if the new value has the same shape. The `replace` function must be used when the shapes do not match.
* Allows all the ways of identifying field uncertainties supported by the NeXus standard.
* Uses "." to denote empty axes in conformance with the NeXus standard.
* Fixes the parsing of `axes` attributes that generated a FutureWarning.
* Limits the number of recursions used in the `short_tree` property to two.
* Ensures that natural sorting is used in printed trees, *i.e.*, `scan_10` comes after `scan_2`.
* Fixes a bug in the `NXstack` script, which could cause missing frames at the end of the stack.

0.4.9

* Catch errors reading in NXfield values that prevent the loading of a NeXus file from completing.
* Fixes a bug with plotting data with linked fields.
* Fixes a bug causing infinite recursions when accessing link attributes.
* Adds an NXfield replace function to force a change in the size and/or shape of data already saved in a NeXus file.

0.4.8

* An attribute that is written as a size 1 array is now converted to a scalar. This fixes the reading of size 1 string arrays.

Page 7 of 11

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.