aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2020-10-27 15:27:52 +0100
committerThomas White <taw@physics.org>2020-10-27 15:27:52 +0100
commit0972792a889f6614c08380f52b08d919b7da31d1 (patch)
treee91132744ca73ec94fb41aee1ac2425cf716439a /src
parentec808350915885ebb5172be7f4d6d1d6e73742e3 (diff)
Add a new StreamFlag for generating the detgeom structure
This is a hack, and should be replaced by something which gets the metadata from the stream rather than hitting the read image file every time.
Diffstat (limited to 'src')
-rw-r--r--src/gui_project.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui_project.c b/src/gui_project.c
index 38e800ba..0c7d5502 100644
--- a/src/gui_project.c
+++ b/src/gui_project.c
@@ -865,7 +865,8 @@ struct image *find_result(struct crystfelproject *proj,
}
image = stream_read_chunk(st, STREAM_REFLECTIONS
- | STREAM_PEAKS);
+ | STREAM_PEAKS
+ | STREAM_DATA_DETGEOM);
stream_close(st);
return image;