Skip to main content

DIALS Regression Data manager

Project description

PyPI release BSD license Build status Supported Python versions Python 3 ready Updates Code style: black

A python package providing data files used for regression tests in DIALS, dxtbx, xia2 and related packages.

Installation

To install this package in a normal Python environment, run:

install dials_data

To install in a DIALS installation you need to run:

libtbx.pip install dials_data

Usage

Tests that rely on the dials_data package will use it automatically once it is installed. You can also access the regression data using the command line interface:

dials.data

Background

Where is the regression data stored?

In order of evaluation:

  • If the environment variable DIALS_DATA is set and exists or can be created then use that location

  • If the file path /dls/science/groups/scisoft/DIALS/dials_data exists and is readable then use this location. This is a shared directory specific to Diamond Light Source

  • If the environment variable LIBTBX_BUILD is set and the directory dials_data exists or can be created underneath that location then use that.

  • Use ~/.cache/dials_data if it exists or can be created

  • Otherwise fail with a RuntimeError

Credits

This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.

Project details


Release history Release notifications | RSS feed

This version

0.3.0

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

dials_data-0.3.0.tar.gz (12.8 kB view hashes)

Uploaded Source

Built Distribution

dials_data-0.3.0-py2.py3-none-any.whl (11.4 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page