From 031a4d37cf355fd72a991dbd1167c8e492011730 Mon Sep 17 00:00:00 2001 From: Thomas White Date: Tue, 16 Jun 2015 17:52:06 +0200 Subject: partialator: Fix rejection bugs --- src/partialator.c | 2 +- src/rejection.c | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/partialator.c b/src/partialator.c index d5e1aef5..9156536c 100644 --- a/src/partialator.c +++ b/src/partialator.c @@ -748,7 +748,7 @@ int main(int argc, char *argv[]) /* Make a first pass at cutting out crap */ STATUS("Checking patterns.\n"); - early_rejection(crystals, n_crystals); + //early_rejection(crystals, n_crystals); /* Make initial estimates */ full = merge_intensities(crystals, n_crystals, nthreads, pmodel, diff --git a/src/rejection.c b/src/rejection.c index 28a8d32f..a565fec3 100644 --- a/src/rejection.c +++ b/src/rejection.c @@ -90,7 +90,6 @@ void early_rejection(Crystal **crystals, int n) STATUS("Mean intensity/peak = %f ADU\n", m/n); STATUS("%i crystals flagged\n", n_flag); - check_rejection(crystals, n, NULL); } @@ -176,7 +175,7 @@ void check_rejection(Crystal **crystals, int n, RefList *full) for ( i=0; i 1e18 ) { + if ( fabs(crystal_get_Bfac(crystals[i])) > 1e-18 ) { crystal_set_user_flag(crystals[i], 1); } -- cgit v1.2.3