From 7d1734f588d48df708247c7a177caa7fce6a035b Mon Sep 17 00:00:00 2001 From: Thomas White Date: Wed, 19 Aug 2020 15:29:38 +0200 Subject: GUI: Refine the profile radius when indexing once --- src/gui_index.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/gui_index.c') diff --git a/src/gui_index.c b/src/gui_index.c index f35fa46b..8215ba8a 100644 --- a/src/gui_index.c +++ b/src/gui_index.c @@ -44,6 +44,7 @@ #include #include #include +#include #include "crystfel_gui.h" #include "crystfelimageview.h" @@ -228,6 +229,11 @@ static void run_indexing_once(struct crystfelproject *proj) for ( i=0; icur_image->n_crystals; i++ ) { crystal_set_profile_radius(proj->cur_image->crystals[i], 0.02e9); crystal_set_mosaicity(proj->cur_image->crystals[i], 0.0); + if ( refine_radius(proj->cur_image->crystals[i], + proj->cur_image) ) + { + ERROR("WARNING: Radius determination failed\n"); + } } err = 0; -- cgit v1.2.3