hyperspy / rosettasciio

Python library for reading and writing scientific data format
https://hyperspy.org/rosettasciio
GNU General Public License v3.0
44 stars 26 forks source link

3.12 velox emd files not supported #242

Closed DitDotz closed 3 months ago

DitDotz commented 3 months ago

Describe the bug

A clear and concise description of what the bug is. AttributeError: 'NoneType' object has no attribute 'keys' occurred when I attempted to load an emd file through hs.load('sample.emd')

To Reproduce

Steps to reproduce the behaviour:

hs.load('sample.emd')
# emd file is produced using velox 3.12

Expected behavior

A clear and concise description of what you expected to happen.

For the file to be read correctly

Python environement:

Additional context

Add any other context about the problem here. If necessary, add screenshots to help explain your problem. Capture

ericpre commented 3 months ago

Thank you for reporting the issue, this is already fixed and to be released soon (in a week or so),

Closing as duplicate of https://github.com/hyperspy/rosettasciio/issues/226 and fixed in https://github.com/hyperspy/rosettasciio/pull/232.