aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2015-02-20 15:51:56 +0100
committerThomas White <taw@physics.org>2015-02-20 15:51:56 +0100
commit8b6b18d76d3d8bd0ba6221dc6c6c1cc157589a2e (patch)
treed05790a36ca4a87cc65943c3267e5ff90d6f47f9
parent924e12622df423f2934d35fd50bd2640b2bbdf5d (diff)
indexamajig: Show event ID if there are implausible reflections
-rw-r--r--src/process_image.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/process_image.c b/src/process_image.c
index e5b4168f..536f00f5 100644
--- a/src/process_image.c
+++ b/src/process_image.c
@@ -352,8 +352,9 @@ void process_image(const struct index_args *iargs, struct pattern_args *pargs,
n += crystal_get_num_implausible_reflections(image.crystals[i]);
}
if ( n > 0 ) {
- STATUS("WARNING: %i implausibly negative reflection%s in %s.\n",
- n, n>1?"s":"", image.filename);
+ STATUS("WARNING: %i implausibly negative reflection%s in %s "
+ "%s\n", n, n>1?"s":"", image.filename,
+ get_event_string(image.event));
}
for ( i=0; i<image.n_crystals; i++ ) {