Nexusformat

Latest version: v1.0.4

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

Scan your dependencies

Page 1 of 10

1.0.4

* Updates the NeXus base classes following the release of NeXus v2024.02.

1.0.3

* Opens files as read-only when initializing `NXFile` instances, in order to prevent `h5py` exceptions when other applications, *e.g.*, those not using the `nexusformat` file-locking mechanism, have already opened the file. If `write` mode is requested, it is applied when performing I/O operations.
* Calculates the size of NXfield arrays as 64-bit integers to prevent overflow issues when the NumPy `prod` function uses 32-bit integers. On some systems, this has caused large arrays to be loaded into memory inadvertently.

1.0.2

* Ensures lock files are released if opening a file with h5py triggers an exception.
* Fixes an incompatibility with tab completion and call tips in IPython 8.12.
* Allows additional arguments when coercing NXfields to NumPy arrays.
* Fixes docstrings.

1.0.1

* Removes the restriction for values in the `entries` dictionary used to initialize a NXgroup instance to be NXfields or NXgroups. Any value that can be converted to a NXfield is now allowed.

1.0.0

1.0.0rc6

* Converts path-like objects to strings when storing filenames in NXfields and creating external links.
* Fixes file modification time when restoring a backup.

Page 1 of 10

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.