From 667c06f12ca19986acfc00b0bc3adc2ca7f58f58 Mon Sep 17 00:00:00 2001 From: Thomas White Date: Wed, 9 Nov 2011 14:45:58 +0100 Subject: partialator: Use all reflections (not just the ones found the first time around) --- src/partialator.c | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) (limited to 'src/partialator.c') diff --git a/src/partialator.c b/src/partialator.c index 6b4719eb..4edf7bf4 100644 --- a/src/partialator.c +++ b/src/partialator.c @@ -269,9 +269,6 @@ int main(int argc, char *argv[]) int n_iter = 10; struct beam_params *beam = NULL; RefList *full; - int n_found = 0; - int n_expected = 0; - int n_notfound = 0; int n_usable_patterns = 0; int nobs; char *reference_file = NULL; @@ -435,7 +432,6 @@ int main(int argc, char *argv[]) RefList *as; struct image *cur; - int nn_expected, nn_found, nn_notfound; cur = &images[n_usable_patterns]; @@ -474,10 +470,7 @@ int main(int argc, char *argv[]) reflist_free(cur->reflections); cur->reflections = as; - update_partialities(cur, &nn_expected, &nn_found, &nn_notfound); - n_expected += nn_expected; - n_found += nn_found; - n_notfound += nn_notfound; + update_partialities(cur); nobs += select_scalable_reflections(cur->reflections, reference); @@ -487,8 +480,6 @@ int main(int argc, char *argv[]) } fclose(fh); - STATUS("Found %5.2f%% of the expected peaks (missed %i of %i).\n", - 100.0 * (double)n_found / n_expected, n_notfound, n_expected); /* Make initial estimates */ STATUS("Performing initial scaling.\n"); -- cgit v1.2.3