usnistgov / PyHyperScattering

Tools for hyperspectral x-ray and neutron scattering data loading, reduction, slicing, and visualization.
Other
6 stars 8 forks source link

SST1RSoXSDB: `use_chunked_loading` and `catalog_kwargs` incompatible with externally supplied catalog #71

Closed pbeaucage closed 1 year ago

pbeaucage commented 1 year ago

use_chunked_loading simply sets the catalog_kwargs field structure_clients to "dask"

However, if the user passes in a pre-constructed catalog with catalog=, then the catalog_kwargs is not used.

The loader should warn/error if either use_chunked_loading or catalog_kwargs is used when an external catalog is supplied.