aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel/src
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2012-06-28 17:24:44 +0200
committerThomas White <taw@physics.org>2012-06-28 17:24:44 +0200
commit18e3a7f47dfb9fd5ca732d4f21404e29e88873da (patch)
tree1d5ec9c771d135d8e5089f310ce2d960e38eee93 /libcrystfel/src
parent4a81d9f2d079651d8c7c0f555eba7903d54d7ca7 (diff)
Warn user if any peaks were badrow culled
Diffstat (limited to 'libcrystfel/src')
-rw-r--r--libcrystfel/src/peaks.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/libcrystfel/src/peaks.c b/libcrystfel/src/peaks.c
index cb98f4e9..ffe77290 100644
--- a/libcrystfel/src/peaks.c
+++ b/libcrystfel/src/peaks.c
@@ -521,6 +521,12 @@ static void search_peaks_in_panel(struct image *image, float threshold,
// "%i in bad regions, %i with SNR < %g, %i badrow culled.\n",
// nacc, nrej_dis, nrej_pro, nrej_fra, nrej_bad,
// nrej_snr, min_snr, ncull);
+
+ if ( ncull != 0 ) {
+ STATUS("WARNING: %i peaks were badrow culled. This feature"
+ " should not usually be used.\nConsider setting"
+ " badrow=- in the geometry file.\n", ncull);
+ }
}