A processing job on a CBF, marCCD, SMV or SFRM sweep writes a _process.h5 that
holds the per-image analysis but no images: there is nothing in a directory of
frames for it to link to. The viewer showed that run by reading the file on its
own, so after processing the image area stayed empty.
JFJochHDF5Reader::ReadFile now takes the reader of the sweep the file was made
from; for a file without pixels each image is read from that sweep (frame
/entry/detector/number[i]) and the file's analysis is laid over it. The viewer
passes its open raw reader when it shows such a run. HDF5 inputs are unchanged:
their runs already link the original images.
Tests: JFJochHDF5Reader_ProcessFileOfRawSweep_PixelsFromSweep (a run over one
frame of a two-frame miniCBF sweep shows that frame's pixels under the run's
analysis) and OpenableFilePatterns (the browser/dialog wildcards). The viewer
documentation said the process file carried the images; corrected.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01HVeDQrPqZ52Tp6rzzZGxf3