From c18a02f6e07ad21fee5c7e6a1fc0e6f64efba17c Mon Sep 17 00:00:00 2001 From: Thomas White Date: Tue, 17 Mar 2015 17:26:07 +0100 Subject: Throw out crystals which could not be refined --- src/process_image.c | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'src/process_image.c') diff --git a/src/process_image.c b/src/process_image.c index 6ad5c00e..da9f3f4a 100644 --- a/src/process_image.c +++ b/src/process_image.c @@ -282,9 +282,9 @@ void process_image(const struct index_args *iargs, struct pattern_args *pargs, } free(rn); - pargs->n_crystals = image.n_crystals; for ( i=0; in_crystals = 0; + for ( i=0; in_crystals++; + } + } + for ( i=0; i