Closed OliDG closed 1 month ago
Is it from a spectrum, a spectrum image or both? Do you have a file to share?
Both, the individual segment spectra (s[0:4]) sand the spectrum image (s[-1]) has no category 'metadata.Sample', here is a typical dataset from the updated Velox (uploaded to a dropbox).
https://uppsala.box.com/s/rsxinjb9eq6zaniftzaj1eeq6fbfmrrl
\Olivier
@OliDG it should be fixed in the development branch now.
@ericpre @jlaehne Thanks, I have tested it and it mostly works. There is an error generated (maybe here previously?) when no elements were selected for quantification before saving the .emd file from Velox ("elementSelection" key doesn't exist then).
ERROR | Hyperspy | If this file format is supported, please report this error to the HyperSpy developers. (hyperspy.io:600)
caught <class 'AttributeError'>: 'DictionaryTreeBrowser' object has no attribute 'elementSelection'
\Olivier
Describe the bug
Dear developpers,
the EDS element selection is visible in the original metadata but not loaded to the metadata.Sample information. (Former .emd format seems to load the list of element correctly, exemples below)
To Reproduce
Steps to reproduce the behavior:
Expected behavior
List of elements loaded under "s[-1].metadata.Sample.elements" Here is the same using an older .emd file.
Python environement:
Additional context
Add any other context about the problem here. If necessary, add screenshots to help explain your problem.