diff options
author | Thomas White <taw@physics.org> | 2020-09-04 14:36:54 +0200 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2020-09-04 14:36:54 +0200 |
commit | 4448eb0ef2ae7d6fd5576fb7cd5322eeb290d310 (patch) | |
tree | 304cc31dc30ea1f14dee7251e431f8b8b94172f2 /libcrystfel/src/stream.c | |
parent | 85ab8f227a0c07ea72d259a29d169fb0956c873a (diff) |
stream_make_index: Don't require an event ID for every chunk
Event ID is not written if not needed
Diffstat (limited to 'libcrystfel/src/stream.c')
-rw-r--r-- | libcrystfel/src/stream.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/libcrystfel/src/stream.c b/libcrystfel/src/stream.c index 23067c56..1a9c87cd 100644 --- a/libcrystfel/src/stream.c +++ b/libcrystfel/src/stream.c @@ -1570,8 +1570,7 @@ StreamIndex *stream_make_index(const char *filename) if ( strcmp(line, STREAM_CHUNK_END_MARKER) == 0 ) { if ( (last_start_pos != 0) - && (last_filename != NULL) - && (last_ev != NULL) ) + && (last_filename != NULL) ) { add_index_record(index, last_start_pos, |