diff options
-rw-r--r-- | libcrystfel/src/integration.c | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/libcrystfel/src/integration.c b/libcrystfel/src/integration.c index 3d8258c1..8a3c581e 100644 --- a/libcrystfel/src/integration.c +++ b/libcrystfel/src/integration.c @@ -1687,9 +1687,14 @@ void integrate_all_5(struct image *image, IntegrationMethod meth, saved_R * 5); } - res = estimate_resolution(crystal_get_cell(image->crystals[i]), + if ( image->indexed_by != INDEXING_FILE ){ + res = estimate_resolution(crystal_get_cell(image->crystals[i]), image->features); - crystal_set_resolution_limit(image->crystals[i], res); + crystal_set_resolution_limit(image->crystals[i], res); + } + else{ + res = crystal_get_resolution_limit(image->crystals[i]); + } list = predict_to_res(image->crystals[i], res+push_res); crystal_set_reflections(image->crystals[i], list); |