aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel/src/integration.c
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2013-11-24 16:20:22 -0800
committerThomas White <taw@physics.org>2013-11-24 16:20:22 -0800
commit40bc547d4bc61f05e18eb82cac7a1994bbbdce6d (patch)
tree0b67761d2506e79919c6d3e234229639e3304d08 /libcrystfel/src/integration.c
parent539a579b119fb7b4b79c1c9e9ad5ecbbb073f44f (diff)
Set red=0 if BG not OK
Diffstat (limited to 'libcrystfel/src/integration.c')
-rw-r--r--libcrystfel/src/integration.c4
1 files changed, 4 insertions, 0 deletions
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);
+
}
}