Spec2nexus

Latest version: v2021.2.6

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

Scan your dependencies

Page 2 of 13

2021.2.2

+++++++++++++

released 2022-09-06

Maintenance
------------------------------------

Switch version management to setuptools-scm.

Updated Sphinx (documentation) configuration to v5.1.

2021.2.1

+++++++++++++

released 2022-05-26

New Features and/or Enhancements
------------------------------------

Added ``--output`` (short version: ``-o``) command-line option to
``spec2nexus`` application to name the output file.

Maintenance
------------------------------------

Add support for SPEC ``R`` (user results) control line.

Contributors
------------------------------------

* Florin Boariu

2021.2.0

+++++++++++++

released 2022-03-17

Notice
------------------------------------

* Conda package now on conda-forge: ``conda install -c conda-forge spec2nexus``
* Updated format for new Change History entries.

Breaking Changes
------------------------------------

The plugin system was rebuilt to make it easier to write and load plugins,
especially custom, user-provided plugins.

New Features and/or Enhancements
------------------------------------

Added another way to access scans, using Python's slicing interface.
See the *Slice Parameters* section for more details and examples.

Add new diffractometer configuration reports:

* ``str(scan.diffractometer)``: minimal view of ``scan``
* ``scan.diffractometer.print_brief(scan)`` : content similar to SPEC's ``wh``
* ``scan.diffractometer.print_all(scan)`` : content similar to SPEC's ``pa``

Documentation reorganized and using new Furo theme.

New documentation of the NeXus file structure.

Fixes
------------------------------------

* ``eznx``: needs to return text as ``str`` (not ``bytes``).
* ``twoc``: diffractometer geometry has 2-D lattice and reflection(s)

Maintenance
------------------------------------

* Optimize initial load times for data files.
* Code tests now use real examples of non-zero MCA data using files with both
single and multiple MCA detectors.
* Tests of code using Python 3.7, 3.8, 3.9, 3.10
* All unit test code now in-source using ``pytest``
* Code is now compliant with `PEP8 <https://pep8.org/>`_ (Python code style guide).
* Increase number of unit tests to improve code coverage (now ~95%).
* Resume use of test code coverage reporting:
https://coveralls.io/github/prjemian/spec2nexus

Deprecations
------------------------------------

* Python versions lower than 3.7 are no longer supported.

Contributors
------------------------------------

* Radu Abrudan

-------------

Older Releases
+++++++++++++++

2021.1.11

* re-release due to documentation publishing workflow problem

2021.1.10

* re-release due to documentation publishing workflow problem

2021.1.9

* `239 <https://github.com/prjemian/spec2nexus/issues/239>`_
publish documentation at https://prjemian.github.io/spec2nexus/

Page 2 of 13

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.