Nexusformat

Latest version: v1.0.4

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

Scan your dependencies

Page 5 of 10

0.5.1

* Adds new NXfield query functions required by NeXpy.
* Fixes a bug that allows attributes to be modified when a file is in read-only mode.
* Improves initialization of external links when opening files.

0.5.0

* Adds optional file locking to protect NeXus files accessed by multiple processes.
* Adds a context manager to open and close NeXus files before and after multiple read/write operations.
* Allows the use of all h5py.Dataset keyword arguments when creating a NXfield, such as `maxshape` and `fillvalue`.
* Adds a NXfield `resize` function to resize arrays in place within the bounds set by `maxshape`.
* Modifies the NXgroup `copy` function to enable use of h5py.Group copy to copy between files. It accepts the same keyword arguments, for example to embed externally linked data in the copied file. Note that the `copy` function no longer returns a deep copy of the group, but using `deepcopy` directly provides the same functionality.
* Allows h5py.File keyword arguments to be used in the `nxload` command.
* Adds a SciPy interpolation function to the NXdata class to smooth one-dimensional data.
* Adds autocompletion of NeXus group dictionaries as an IPython extension.
* Adds `nxduplicate` command-line script for duplicating NeXus files with h5py keyword arguments.
* Adds `nexusformat` command-line script to return the package version number.
* The `len` function now returns the size of the first dimension, for compatibility with NumPy and h5py.
* Stores modification times in NXFile instances to allow modifications by external processes to be detected.
* Improves docstrings for all functions.
* Adds a suite of `pytest` functions and implements Travis-CI checks on Github.
* Fixes a bug when adding two NXentry groups.
* Fixes a bug where attributes are added to more than one group.
* Fixes a bug with determining valid plotting axes in files created by Mantid.
* Improves error messages for missing external links.

0.4.20

* Fixes a bug with plots using Pyplot.

0.4.19

* Generalizes the NXdata `moment` function to compute moments of arbitrary order of one-dimensional data.
* Adds a cell to install `nexus format` if necessary in the Jupyter Notebook tutorial.
* Improves casting of array-like values when creating NXfields.
* Allows `maxshape` to be defined when creating an NXfield.
* Fixes a bug with plotting NXdata groups with size-1 axes.

0.4.18

* Reads HDF5 soft links as NXlink objects. NeXus only uses hard links, but this allows non-conforming files to be loaded.
* Improves selection of default axes when plotting NXfields.
* Improves the printing of NeXus trees that contain long string attributes and unresolved links.
* Improves handling of null values in NXfields.
* Allows full paths to NeXus objects to be used when checking for keys in group dictionaries.
* Fixes the behavior of NXfield iterator functions when the value is not iterable.

0.4.17

* Fixes a bug with creating NXdata groups with one-dimensional Numpy arrays.

Page 5 of 10

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.