diff options
author | Thomas White <taw@physics.org> | 2018-04-24 16:45:54 +0200 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2018-04-24 16:45:54 +0200 |
commit | 4b27e579f2aded0286376ed46e02130624c17fb7 (patch) | |
tree | 926ea11621641f87ef7c7dfc6f43d02c889d752f /src | |
parent | e903b04ab2000ec45c4d3c60421f5abf5a84b1f1 (diff) |
process_hkl: Add stream audit information to reflection list
Diffstat (limited to 'src')
-rw-r--r-- | src/process_hkl.c | 8 |
1 files changed, 6 insertions, 2 deletions
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); |