Skip to content

[ESSNMX] Fix weekly test for NMX - #684

Merged
YooSunYoung merged 7 commits into
mainfrom
fix-weekly
Jul 30, 2026
Merged

[ESSNMX] Fix weekly test for NMX#684
YooSunYoung merged 7 commits into
mainfrom
fix-weekly

Conversation

@YooSunYoung

@YooSunYoung YooSunYoung commented Jul 29, 2026

Copy link
Copy Markdown
Member

It was just because of the bitshuffle.h5 ...

I tested manually https://github.com/scipp/ess/actions/runs/30463403880

The other issue was that the plotting was done with interactive backend in the windows.
I just set the default backend to be Agg for NMX executable since it only dumps PNG files.
It's already a known issue: scipp/plopp#516

@github-actions github-actions Bot added the essnmx Issues for essnmx. label Jul 29, 2026
@github-actions github-actions Bot changed the title Fix weekly test for NMX [ESSNMX] Fix weekly test for NMX Jul 29, 2026
@YooSunYoung
YooSunYoung marked this pull request as ready for review July 29, 2026 15:03
@YooSunYoung YooSunYoung added the CI label Jul 29, 2026
@github-project-automation github-project-automation Bot moved this to In progress in Development Board Jul 29, 2026
@YooSunYoung YooSunYoung moved this from In progress to Selected in Development Board Jul 29, 2026
Comment on lines +29 to +37
try:
# The bitshuffle plugin needs to be imported at least once in the session
# so that h5py can use the plugin.
import bitshuffle.h5 # noqa: F401
except ImportError:
pytest.skip(
allow_module_level=True,
reason="File output regression test cannot be done without `bitshuffle.h5`.",
)

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why not pytest.importorskip?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah you're right...! I updated it.

@YooSunYoung
YooSunYoung added this pull request to the merge queue Jul 30, 2026
Merged via the queue into main with commit bedc9e5 Jul 30, 2026
6 checks passed
@YooSunYoung
YooSunYoung deleted the fix-weekly branch July 30, 2026 10:55
@github-project-automation github-project-automation Bot moved this from Selected to Done in Development Board Jul 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CI essnmx Issues for essnmx.

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants