diff options
author | Thomas White <taw@physics.org> | 2020-07-03 16:06:13 +0200 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2020-07-29 18:53:45 +0200 |
commit | 6a809813b520d8c882daf569cd86a241b538788c (patch) | |
tree | bda370830fd6bbf72927270cfc27865582d45c42 /libcrystfel/src/stream.c | |
parent | 0e8a06927065c275e5e235c9f6ebcb0a397efc81 (diff) |
Create detgeom and data arrays when reading from stream
Diffstat (limited to 'libcrystfel/src/stream.c')
-rw-r--r-- | libcrystfel/src/stream.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libcrystfel/src/stream.c b/libcrystfel/src/stream.c index 150bf0af..36eedb2d 100644 --- a/libcrystfel/src/stream.c +++ b/libcrystfel/src/stream.c @@ -1012,6 +1012,8 @@ struct image *stream_read_chunk(Stream *st, const DataTemplate *dtempl, if ( strcmp(line, STREAM_CHUNK_END_MARKER) == 0 ) { if ( have_filename && have_ev ) { /* Success */ + create_detgeom(image, dtempl); + create_blank_arrays(image); return image; } ERROR("Incomplete chunk found in input file.\n"); |