diff options
author | Thomas White <taw@bitwiz.org.uk> | 2013-04-24 23:10:10 +0200 |
---|---|---|
committer | Thomas White <taw@bitwiz.org.uk> | 2013-04-24 23:10:10 +0200 |
commit | 0cf4e3133b12f0ba1dc9c340d350d0c6bc6d076a (patch) | |
tree | f3936db4fd077215f9817b7c3e88aea8906a0c04 /libcrystfel/src/peaks.c | |
parent | 1e0d29bc56025520c72b7614542633ceddace399 (diff) |
Add docs/stream-format.txt and clarify count of saturated reflections
Diffstat (limited to 'libcrystfel/src/peaks.c')
-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 6b2d2b97..4b8a8ee8 100644 --- a/libcrystfel/src/peaks.c +++ b/libcrystfel/src/peaks.c @@ -799,7 +799,7 @@ static void integrate_crystal(Crystal *cr, struct image *image, int use_closer, &intensity, &sigma, ir_inn, ir_mid, ir_out, bgMasks[pnum], &saturated); - if ( saturated ) { + if ( !r && saturated ) { n_saturated++; if ( !integrate_saturated ) r = 1; } |