From 15eacb4e4235a4ece2516e84f191614b4b4e000d Mon Sep 17 00:00:00 2001 From: Thomas White Date: Mon, 26 May 2014 22:23:02 +0200 Subject: partialator: Restore minimum number of observations for PR --- src/post-refinement.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/post-refinement.c b/src/post-refinement.c index 2b2e1df9..6e9250d0 100644 --- a/src/post-refinement.c +++ b/src/post-refinement.c @@ -501,13 +501,15 @@ static double pr_iterate(Crystal *cr, const RefList *full, Reflection *match; double gradients[NUM_PARAMS]; - if ( (get_intensity(refl) < 3.0*get_esd_intensity(refl)) - || (get_partiality(refl) < MIN_PART_REFINE) ) continue; - /* Find the full version */ get_indices(refl, &ha, &ka, &la); match = find_refl(full, ha, ka, la); if ( match == NULL ) continue; + + if ( (get_intensity(refl) < 3.0*get_esd_intensity(refl)) + || (get_partiality(refl) < MIN_PART_REFINE) + || (get_redundancy(match) < 2) ) continue; + I_full = get_intensity(match); /* Actual measurement of this reflection from this pattern? */ -- cgit v1.2.3