aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2021-03-30 17:01:11 +0200
committerThomas White <taw@physics.org>2021-03-30 17:01:11 +0200
commit00f88dac5a2b63ec1c5f7ad65efef3d4f9d93b77 (patch)
treefc8a5f77c1b88f526cbdd7efb53b09183cc5ca14 /src
parentab2158fb3f8053c6277113b4fb22007859f53de8 (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')
-rw-r--r--src/partialator.c2
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;