diff options
author | Thomas White <taw@physics.org> | 2021-05-12 17:29:19 +0200 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2021-05-12 17:29:19 +0200 |
commit | 680fa5f16ed2ff8a70fcb44e9920721287047f55 (patch) | |
tree | 130ad45566d6cc2a75a538d4c61915327a35c0ff /libcrystfel/src/image.c | |
parent | b39254e37f0567c4325772878dc27add58d56be0 (diff) |
Don't assume that headers to be copied are floats
Diffstat (limited to 'libcrystfel/src/image.c')
-rw-r--r-- | libcrystfel/src/image.c | 2 |
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; |