aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libcrystfel/src/stream.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/libcrystfel/src/stream.c b/libcrystfel/src/stream.c
index c4ded787..04d2277f 100644
--- a/libcrystfel/src/stream.c
+++ b/libcrystfel/src/stream.c
@@ -458,6 +458,14 @@ int read_chunk(Stream *st, struct image *image)
have_filename = 1;
}
+ if ( strncmp(line, "indexed_by = ", 13) == 0 ) {
+ IndexingMethod *list;
+ list = build_indexer_list(line+13);
+ image->indexed_by = list[0];
+ free(list);
+ have_filename = 1;
+ }
+
if ( strncmp(line, "photon_energy_eV = ", 19) == 0 ) {
image->lambda = ph_en_to_lambda(eV_to_J(atof(line+19)));
have_ev = 1;