HEXRD / hexrd

A cross-platform, open-source library for the analysis of X-ray diffraction data.
Other
56 stars 25 forks source link

Fix sparsing from eiger stream files #709

Open psavery opened 3 weeks ago

psavery commented 3 weeks ago

This fixes a few issues with creating sparse frame-cache arrays from eiger-stream-v1 files:

  1. The dtype is now read correctly from the HDF5 file
  2. Fixed treatment of arrays with empty shapes in the yaml dumper NumpyToNativeDumper
  3. Save the nested eiger metadata as a yaml string, since frame caches do not yet support nested metadata
codecov[bot] commented 3 weeks ago

Codecov Report

Attention: Patch coverage is 33.33333% with 6 lines in your changes missing coverage. Please review.

Project coverage is 33.49%. Comparing base (433a0d5) to head (d9ba404).

Files Patch % Lines
hexrd/imageseries/load/eiger_stream_v1.py 0.00% 6 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #709 +/- ## ========================================== - Coverage 33.49% 33.49% -0.01% ========================================== Files 129 129 Lines 21237 21242 +5 ========================================== + Hits 7113 7114 +1 - Misses 14124 14128 +4 ```

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