diff options
author | Thomas White <taw@physics.org> | 2021-03-30 17:01:11 +0200 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2021-03-30 17:01:11 +0200 |
commit | 00f88dac5a2b63ec1c5f7ad65efef3d4f9d93b77 (patch) | |
tree | fc8a5f77c1b88f526cbdd7efb53b09183cc5ca14 /src/partialator.c | |
parent | ab2158fb3f8053c6277113b4fb22007859f53de8 (diff) |
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.
Diffstat (limited to 'src/partialator.c')
-rw-r--r-- | src/partialator.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |