Chexus Chexus

Chexus#

Validate and check NeXus files

Installation#

To install Chexus and all of its dependencies, use

pip install chexus
conda install -c conda-forge -c scipp chexus

Run#

chexus <path-to-nexus-file>

This supports HDF5 as well as some JSON format. There is also a Python API, but this is under construction and unstable.

Options#

  • --checksums: Compute and print checksums.

  • --ignore-missing: Skip the validators that have missing dependencies.

  • --exit-on-fail: Return a non-zero exit code if validation fails.

  • -r, --root-path: Path to the top-level group to validate. Default is ''.

Get in touch#

  • If you have questions that are not answered by these documentation pages, ask on discussions. Please include a self-contained reproducible example if possible.

  • Report bugs (including unclear, missing, or wrong documentation!), suggest features or view the source code on GitHub.