[Nexus] Release of NeXpy v0.10.4
Osborn, Raymond
rosborn at anl.gov
Tue Oct 24 16:48:50 BST 2017
NeXpy v0.10.4 has just been released, and the underlying nexusformat API has been updated to v0.4.11. Although most of the changes since v0.10.0 are relatively minor enhancements and bug fixes, it is recommended that all installed versions are upgraded.
Important:
It is essential that all of those using PyQt5 update to at least v0.10.2. From v5.5, PyQt5 triggered an abort of the whole program for any error — even if the exception was trapped by the code, unless a customized exception handler was implemented. This was an unfortunate policy decision, but one consequence is that NeXpy now has a much more robust exception handling system, with colorized tracebacks provided in a GUI window and stored in the log files. In the IPython shell, only the error summary is displayed since full tracebacks are often unnecessary, e.g. for minor typing slips, and are now only stored in the log files (opened with Ctrl+Shift+L).
Among recent enhancements and bug fixes:
• Supports different methods of defining uncertainties allowed in the NeXus standard.
• Improves the handling of external links in unsaved NeXus trees and adds more information in the GUI views.
• Fixes a bug with plotting data with unresolved links.
• Adds a new NXfield replace function if it is necessary to overwrite an existing field stored in a file.
• Fixes an incompatibility with Matplotlib v2, which prevents figures being exported to, e.g., PNG files.
• Requires confirmation before exiting the program from the shell using exit or Ctrl+D.
• In the tree view, tooltips now display the short version of NeXus trees without attributes and with a recursion level of two to improve readability.
• Fixes compatibility with the latest version of spec2nexus.
• Adds support for mplcursors in Python 3.
• Restores the plotting window in the Fit Dialog if the user closed it prematurely.
• Pauses a slideshow after an exception is raised plotting the next frame, e.g., an OSError caused by renaming the NeXus data file.
Full release notes are available at https://github.com/nexpy/nexpy/releases and https://github.com/nexpy/nexusformat/releases.
NeXpy
---------
NeXpy provides a high-level Python interface to HDF5 files, particularly those stored as NeXus data, within a simple GUI. It is designed to provide an intuitive interactive toolbox allowing users both to access, visualize, and manipulate existing NeXus files, and to create new NeXus-conforming data structures without expert knowledge of the file format. The underlying Python API for reading and writing NeXus files is provided by the nexusformat package, which utilizes h5py.
NeXpy is available on both the Python Package Index server and Anaconda:
$ pip install nexpy
or
$ conda install -c nexpy nexpy
NeXpy Home Page: http://nexpy.github.io/nexpy/
NeXpy Github: https://github.com/nexpy/nexpy
NeXpy Release Notes: https://github.com/nexpy/nexpy/releases
Please report any bugs to the Github issues page. Other questions can be addressed here to the NeXus Mailing List.
Ray Osborn
--
Ray Osborn, Senior Scientist
Materials Science Division
Argonne National Laboratory
Argonne, IL 60439, USA
Phone: +1 (630) 252-9011
Email: ROsborn at anl.gov<mailto:ROsborn at anl.gov>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nexusformat.org/pipermail/nexus/attachments/20171024/17c197cb/attachment.html>
More information about the NeXus
mailing list