Skip to content

Use file_format and use new FileIO hyperspy metadata#425

Open
ericpre wants to merge 5 commits into
hyperspy:mainfrom
ericpre:file_format_and_new_FileIO
Open

Use file_format and use new FileIO hyperspy metadata#425
ericpre wants to merge 5 commits into
hyperspy:mainfrom
ericpre:file_format_and_new_FileIO

Conversation

@ericpre

@ericpre ericpre commented Jul 19, 2025

Copy link
Copy Markdown
Member

The PR for hyperspy/hyperspy#3528. These changes are compatible with the release and development version of hyperspy.

Progress of the PR

  • Update reference metadata dictionary to support changes in #3528,
  • Handle deprecation of reader and extension parameters in the test suite,
  • update docstring: replace mentions of reader argument,
  • update user guide: replace mentions of reader argument,
  • add a changelog entry in the upcoming_changes folder (see upcoming_changes/README.rst),
  • Check formatting of the changelog entry (and eventual user guide changes) in the docs/readthedocs.org:rosettasciio build of this PR (link in github checks)
  • update tests,
  • ready for review.

Comment thread rsciio/tests/test_io.py Dismissed
@codecov

codecov Bot commented Jul 19, 2025

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 40.00000% with 6 lines in your changes missing coverage. Please review.
✅ Project coverage is 88.03%. Comparing base (c4aa0b1) to head (73e8a77).
⚠️ Report is 234 commits behind head on main.

Files with missing lines Patch % Lines
rsciio/emd/_api.py 14.28% 3 Missing and 3 partials ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##             main     #425   +/-   ##
=======================================
  Coverage   88.02%   88.03%           
=======================================
  Files          91       91           
  Lines       11538    11547    +9     
  Branches     2131     2135    +4     
=======================================
+ Hits        10156    10165    +9     
+ Misses        875      872    -3     
- Partials      507      510    +3     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@ericpre ericpre changed the title File format and use new FileIO hyperspy metadata Use file_format and use new FileIO hyperspy metadata Jul 19, 2025
@ericpre

ericpre commented Jul 19, 2025

Copy link
Copy Markdown
Member Author

The failure on the development branch of hyperspy is fixed in hyperspy/hyperspy#3528.

@jlaehne jlaehne mentioned this pull request Jul 24, 2025
4 tasks
@ericpre ericpre mentioned this pull request Jul 25, 2025
@jlaehne

jlaehne commented Jul 25, 2025

Copy link
Copy Markdown
Member

Note that a number of user guide pages and docstrings mention the reader argument and need to be adapted once this is released on the HyperSpy side!

@ericpre ericpre added this to the v0.11 milestone Jul 26, 2025
@ericpre ericpre modified the milestones: v0.11, v0.12 Oct 12, 2025
@ericpre ericpre modified the milestones: v0.12, v0.13 Dec 28, 2025
@ericpre ericpre modified the milestones: v0.13, v0.14 Apr 8, 2026
@ericpre ericpre modified the milestones: v0.14, v0.15.0 May 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants