aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2017-03-13 10:35:07 +0100
committerThomas White <taw@physics.org>2017-03-13 10:35:07 +0100
commit08dc0c910402124d23d90ac5f910b81786f673c1 (patch)
tree8505eec561630377d315271991120ab23d8550af /src
parent387af2ba0d56eff5a38fb546861418e4da6608b1 (diff)
process_hkl: Add event IDs to "--stat" file
Diffstat (limited to 'src')
-rw-r--r--src/process_hkl.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/process_hkl.c b/src/process_hkl.c
index d2cf640b..301bc6e4 100644
--- a/src/process_hkl.c
+++ b/src/process_hkl.c
@@ -287,7 +287,8 @@ static int merge_crystal(RefList *model, struct image *image, Crystal *cr,
if ( isnan(scale) ) return 1;
if ( scale <= 0.0 ) return 1;
if ( stat != NULL ) {
- fprintf(stat, "%s %f %f\n", image->filename, scale, cc);
+ fprintf(stat, "%s %s %f %f\n", image->filename,
+ get_event_string(image->event), scale, cc);
}
} else {