From 00f88dac5a2b63ec1c5f7ad65efef3d4f9d93b77 Mon Sep 17 00:00:00 2001 From: Thomas White Date: Tue, 30 Mar 2021 17:01:11 +0200 Subject: Add header caching layer This simultaneously implements --copy-header/--copy-hdf5-field and gives access to metadata (e.g. detector position or wavelength) when loading from a stream with header-specified values. --- src/partialator.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/partialator.c b/src/partialator.c index 13795c65..249eda93 100644 --- a/src/partialator.c +++ b/src/partialator.c @@ -1550,7 +1550,7 @@ int main(int argc, char *argv[]) image_for_crystal->detgeom = NULL; image_for_crystal->features = NULL; image_for_crystal->spectrum = NULL; - image_for_crystal->copied_headers = NULL; + image_for_crystal->n_cached_headers = 0; image_for_crystal->dp = NULL; image_for_crystal->bad = NULL; image_for_crystal->sat = NULL; -- cgit v1.2.3