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

axes fix for loading JPG with no exif_tags #283

Closed ThorstenBASF closed 2 weeks ago

ThorstenBASF commented 3 weeks ago

Description of the change

A few sentences and/or a bulleted list to describe and motivate the change:

Progress of the PR

Minimal example of the bug fix or the new feature

import hyperspy.api as hs
tfile = "./rsciio/tests/data/image/jpg_no_exif_tags.jpg"
s = hs.load(tfile)
s.calibrate(x0=0, y0=0, x1=0, y1=1, new_length=0.2, units="nm", interactive=False)
codecov[bot] commented 3 weeks ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 86.52%. Comparing base (de98a8e) to head (2b38d85). Report is 4 commits behind head on main.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #283 +/- ## ========================================== + Coverage 86.33% 86.52% +0.18% ========================================== Files 83 83 Lines 10674 10676 +2 Branches 2332 2332 ========================================== + Hits 9215 9237 +22 + Misses 940 922 -18 + Partials 519 517 -2 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

ericpre commented 2 weeks ago

pre-commit.ci autofix