From 4b27e579f2aded0286376ed46e02130624c17fb7 Mon Sep 17 00:00:00 2001 From: Thomas White Date: Tue, 24 Apr 2018 16:45:54 +0200 Subject: process_hkl: Add stream audit information to reflection list --- src/process_hkl.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/process_hkl.c b/src/process_hkl.c index 301bc6e4..12d4340f 100644 --- a/src/process_hkl.c +++ b/src/process_hkl.c @@ -520,6 +520,7 @@ int main(int argc, char *argv[]) double push_res = +INFINITY; double min_cc = -INFINITY; int twopass = 0; + char *audit_info; /* Long options */ const struct option longopts[] = { @@ -823,11 +824,14 @@ int main(int argc, char *argv[]) hist_nbins); } + audit_info = stream_audit_info(st); + close_stream(st); + reflist_add_command_and_version(model, argc, argv); + reflist_add_notes(model, "Audit information from stream:"); + reflist_add_notes(model, audit_info); write_reflist_2(output, model, sym); - close_stream(st); - free_symoplist(sym); reflist_free(model); free(output); -- cgit v1.2.3