aboutsummaryrefslogtreecommitdiff
path: root/src/partialator.c
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2011-06-24 13:57:54 +0200
committerThomas White <taw@physics.org>2012-02-22 15:27:30 +0100
commitac65847e3af4c36e9a74858d747d4be1c47e21b5 (patch)
treeb6f8723b4d4fc9cdd0e22045612f0b0dee462b58 /src/partialator.c
parent4aeeb2aeca15d2a6c8b529074e2b8bf2ac9ed3b5 (diff)
Count badly refined images at end
Diffstat (limited to 'src/partialator.c')
-rw-r--r--src/partialator.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/partialator.c b/src/partialator.c
index aa55b81c..17c2c6a2 100644
--- a/src/partialator.c
+++ b/src/partialator.c
@@ -176,6 +176,7 @@ int main(int argc, char *argv[])
char *reference_file = NULL;
double *reference = NULL;
RefList *reference_list = NULL;
+ int n_dud;
/* Long options */
const struct option longopts[] = {
@@ -448,9 +449,12 @@ int main(int argc, char *argv[])
}
STATUS("Final scale factors:\n");
+ n_dud = 0;
for ( i=0; i<n_usable_patterns; i++ ) {
+ if ( images[i].pr_dud ) n_dud++;
STATUS("%4i : %5.2f\n", i, images[i].osf);
}
+ STATUS("%i images could not be refined on the last cycle.\n", n_dud);
/* Output results */
write_reflist(outfile, full, images[0].indexed_cell);