From 680fa5f16ed2ff8a70fcb44e9920721287047f55 Mon Sep 17 00:00:00 2001 From: Thomas White Date: Wed, 12 May 2021 17:29:19 +0200 Subject: Don't assume that headers to be copied are floats --- libcrystfel/src/image.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; in_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; -- cgit v1.2.3