diff options
author | Pascal Hogan-Lamarre <pascal.hogan@gmail.com> | 2020-09-16 22:35:42 -0400 |
---|---|---|
committer | Pascal Hogan-Lamarre <pascal.hogan@gmail.com> | 2020-09-16 22:35:42 -0400 |
commit | c97685fbeca127373ffb0a6cc1f2222e12a91f1e (patch) | |
tree | c8ab29bd04a1a997a3339781f959b1f13c488e9e /libcrystfel/src | |
parent | 5963ae8133473b5957f607cbc6fd9a5ccefa34f9 (diff) |
if-conditions that prevent modification of the profile_radius read from file
Diffstat (limited to 'libcrystfel/src')
-rw-r--r-- | libcrystfel/src/index.c | 4 |
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 */ |