Open dbdurham opened 1 month ago
Just realized it is a dependency issue on my end, closing this.
Reopening this issue because it should fail with a better error message saying that the sparse
library is required to read EDS spectrum image from Velox emd file.
Marking this issue as first good issue because it simply need to catch the error at the right place with a try, except block and raise an error with a more suitable message.
I am getting the same problem as yours. How did you solve it?
You need to install the optional sparse
library.
This is mentioned in the documention but the error message should be more clear.
Describe the bug
Tried to read in a spectrum image Velox emd file (EDS) and got:
To Reproduce
import hyperspy.api as hs d = hs.load('example.emd')
Expected behavior
Should load the dataset
Python environment: