aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libcrystfel/src/image.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libcrystfel/src/image.c b/libcrystfel/src/image.c
index 996d1554..10313ca8 100644
--- a/libcrystfel/src/image.c
+++ b/libcrystfel/src/image.c
@@ -1203,7 +1203,7 @@ static int do_image_read(struct image *image, const DataTemplate *dtempl,
if ( create_satmap(image, dtempl) ) return 1;
for ( i=0; i<dtempl->n_headers_to_copy; i++ ) {
- get_value(image, dtempl->headers_to_copy[i], NULL);
+ read_header_to_cache(image, dtempl->headers_to_copy[i]);
}
return 0;