usnistgov / PyHyperScattering

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

bug: file loaders, when they don't see any selectable files, give an arcane error message #60

Closed pbeaucage closed 1 year ago

pbeaucage commented 1 year ago

The error is something to the effect of "must have more than 1 dimension to create multi-index". This should be caught, wrapped in a human-friendly "You didn't have any useful files in this directory", and reraised. Thanks @phonghnguyen for finding this.

pbeaucage commented 1 year ago

fixed!