aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel/src/indexers
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2021-03-12 15:38:43 +0100
committerThomas White <taw@physics.org>2021-03-12 16:22:46 +0100
commit618aa72a9771faad60ae1ec9f7357bdd29736b4a (patch)
treef5cab0328b22c1fc8566a0d51502f8c363571758 /libcrystfel/src/indexers
parentdf469d21c20e655d66712f78b8054c9e110b62f3 (diff)
FromFile indexer: Update for new event ID in image structure
Diffstat (limited to 'libcrystfel/src/indexers')
-rw-r--r--libcrystfel/src/indexers/fromfile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libcrystfel/src/indexers/fromfile.c b/libcrystfel/src/indexers/fromfile.c
index 040b35e5..d43b17c5 100644
--- a/libcrystfel/src/indexers/fromfile.c
+++ b/libcrystfel/src/indexers/fromfile.c
@@ -319,7 +319,7 @@ int fromfile_index(struct image *image, void *mpriv, int crystal_number)
/* Look up the hash table */
item = calloc(1, sizeof(struct fromfile_entries));
strcpy(item->key.filename, image->filename);
- strcpy(item->key.event, get_event_string(image->event));
+ strcpy(item->key.event, image->ev);
item->key.crystal_number = crystal_number;
/* key already in the hash? */