diff options
-rw-r--r-- | libcrystfel/src/peaks.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libcrystfel/src/peaks.c b/libcrystfel/src/peaks.c index 025cde12..1ce02a52 100644 --- a/libcrystfel/src/peaks.c +++ b/libcrystfel/src/peaks.c @@ -610,7 +610,7 @@ void integrate_reflections(struct image *image, int polar, int use_closer, bgsub); /* I/sigma(I) cutoff */ - if ( intensity/sigma < min_snr ) r = 1; + if ( !r && (intensity/sigma < min_snr) ) r = 1; /* Record intensity and set redundancy to 1 on success */ if ( r == 0 ) { |