Skip to content

Return numpy dtype from eiger-stream-v1#768

Merged
psavery merged 1 commit intomasterfrom
fix-eiger-stream-v1-dtype
Feb 25, 2025
Merged

Return numpy dtype from eiger-stream-v1#768
psavery merged 1 commit intomasterfrom
fix-eiger-stream-v1-dtype

Conversation

@psavery
Copy link
Copy Markdown
Collaborator

@psavery psavery commented Feb 18, 2025

All of the other imageseries adapters return a numpy dtype. Here, we were just returning a string representing a dtype. However, we should return a numpy dtype to be consistent with all of the other imageseries adapters as well.

This also fixes issues in other places in the code where it is assumed that a numpy dtype is returned from the imageseries.

Fixes: HEXRD/hexrdgui#1780

All of the other imageseries adapters return a numpy dtype. Here,
we were just returning a string representing a dtype. However, we
should return a numpy dtype to be consistent with all of the other
imageseries adapters as well.

This also fixes issues in other places in the code where it is
assumed that a numpy dtype is returned from the imageseries.

Fixes: hexrd/hexrdgui##1780

Signed-off-by: Patrick Avery <patrick.avery@kitware.com>
@codecov
Copy link
Copy Markdown

codecov bot commented Feb 18, 2025

Codecov Report

Attention: Patch coverage is 0% with 1 line in your changes missing coverage. Please review.

Project coverage is 46.12%. Comparing base (759a303) to head (4b8e91e).
Report is 2 commits behind head on master.

Files with missing lines Patch % Lines
hexrd/imageseries/load/eiger_stream_v1.py 0.00% 1 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##           master     #768   +/-   ##
=======================================
  Coverage   46.12%   46.12%           
=======================================
  Files         142      142           
  Lines       22822    22822           
=======================================
  Hits        10526    10526           
  Misses      12296    12296           

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

@psavery psavery merged commit ab360d2 into master Feb 25, 2025
7 checks passed
@psavery psavery deleted the fix-eiger-stream-v1-dtype branch February 25, 2025 17:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Issue taking median off images in Eiger16MCdTe data

2 participants