From cb08ffbe0adeed6502db70f3380059800464726d Mon Sep 17 00:00:00 2001 From: Thomas White Date: Thu, 16 Oct 2014 16:28:35 +0200 Subject: Add serial numbers to chunks --- libcrystfel/src/stream.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'libcrystfel/src/stream.c') diff --git a/libcrystfel/src/stream.c b/libcrystfel/src/stream.c index 04627a0c..6ae6fd64 100644 --- a/libcrystfel/src/stream.c +++ b/libcrystfel/src/stream.c @@ -634,6 +634,8 @@ void write_chunk(Stream *st, struct image *i, struct hdfile *hdfile, fprintf(st->fh, "Event: %s\n", get_event_string(i->event)); } + fprintf(st->fh, "Image serial number: %i\n", i->serial); + indexer = indexer_str(i->indexed_by); fprintf(st->fh, "indexed_by = %s\n", indexer); free(indexer); -- cgit v1.2.3