From 40bc547d4bc61f05e18eb82cac7a1994bbbdce6d Mon Sep 17 00:00:00 2001 From: Thomas White Date: Sun, 24 Nov 2013 16:20:22 -0800 Subject: Set red=0 if BG not OK --- libcrystfel/src/integration.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'libcrystfel') diff --git a/libcrystfel/src/integration.c b/libcrystfel/src/integration.c index 6e8063e9..8c5347cb 100644 --- a/libcrystfel/src/integration.c +++ b/libcrystfel/src/integration.c @@ -1341,6 +1341,10 @@ static void integrate_prof2d_once(struct intcontext *ic, struct peak_box *bx) if ( get_int_diag(ic, bx->refl) ) show_peak_box(ic, bx); + } else { + + set_redundancy(bx->refl, 0); + } } -- cgit v1.2.3