Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Return numpy dtype from eiger-stream-v1 #768

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

psavery
Copy link
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>
Copy link

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).

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.

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