Nexusformat

Latest version: v1.0.4

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

Scan your dependencies

Page 9 of 10

0.3.1

- Improves the handling of fixed-length strings that contain non-ASCII characters. These are now stored as byte strings within the NXfield.
- In Python 2, the NXfield returns an encoded byte string for printing, rather than a Unicode string. This prevents some Unicode encoding errors.

0.3.0

- New NXfield properties have been defined for HDF5 parameters, including compression, chunk sizes, fill values, and maximum shapes. These can be set at any time before the data is saved to an HDF5 file or before slabs are stored in core memory files (for large datasets that are filled as slabs after creation).
- Fixes a bug in Python 3 when storing lists of strings. These were converted to Numpy arrays of kind 'U', which h5py was unable to convert. Now, they are automatically converted to Numpy arrays of variable-length strings, using the special h5py object datatype. If fixed-length strings are required, a dtype of 'S' (or 'Sn' where `n` is the required length) should be used when creating the NXfield.
- Provides better parsing of input parameters when creating an NXfield, _e.g._, the `maxshape` attribute is checked to ensure it is compatible with the NXfield shape.

0.2.3

- There is no new functionality in this release. The pyro directory, which implemented a prototype for accessing NeXus files remotely, has now been moved into the nexpy/nxremote repository.

0.2.2

- Allows calls to the NXdata projection method to produce an average, _i.e._, the projection is divided by the number of summed bins.
- Fixes a problem with true division in Python 3. This also affects Python 2, when future division behavior is enabled.

0.2.1

- Improves compatibility with Python 3 by ensuring unicode strings returned by NXobject property calls.
- Fixes a bug in the NXdata project function caused by stricter type-checking in Python 3.

0.2.0

- This is the first version compatible with both Python 2 and Python 3. It has been tested on v2.7, 3.3, 3.4, and 3.5. Python 2.7 and 3.3 are the minimum versions for Python 2 and 3, respectively.
- When used from a Python or IPython shell, this version should also be compatible with any Matplotlib backends, including PyQt5.
- Improves behavior for interactive plotting, _i.e._, it will respect the current Matplotlib interactive setting.
- Improves detection of plottable data within NXroot or NXentry groups.

Page 9 of 10

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.