aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel/src/index.c
diff options
context:
space:
mode:
Diffstat (limited to 'libcrystfel/src/index.c')
-rw-r--r--libcrystfel/src/index.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/libcrystfel/src/index.c b/libcrystfel/src/index.c
index c8e34b23..e0e8ff05 100644
--- a/libcrystfel/src/index.c
+++ b/libcrystfel/src/index.c
@@ -664,7 +664,9 @@ static int try_indexer(struct image *image, IndexingMethod indm,
Crystal *cr = image->crystals[this_crystal];
crystal_set_image(cr, image);
- crystal_set_profile_radius(cr, 0.02e9);
+ if ( indm != INDEXING_FILE){
+ crystal_set_profile_radius(cr, 0.02e9);
+ }
crystal_set_mosaicity(cr, 0.0);
/* Pre-refinement unit cell check if requested */