diff options
author | Thomas White <taw@physics.org> | 2024-06-26 15:34:11 +0200 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2024-06-26 15:34:11 +0200 |
commit | 57311398e1343abd0f563e6f31a93573831e1216 (patch) | |
tree | 343e7aad2c8ad54633448f583f3a01049fb53002 /libcrystfel/src/predict-refine.c | |
parent | 3814dbd1cf954e7c08d2e2c83ba93328cdd6448d (diff) |
Require at least 5 paired reflections for Mille output
Diffstat (limited to 'libcrystfel/src/predict-refine.c')
-rw-r--r-- | libcrystfel/src/predict-refine.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libcrystfel/src/predict-refine.c b/libcrystfel/src/predict-refine.c index 5ac43133..b8a3893c 100644 --- a/libcrystfel/src/predict-refine.c +++ b/libcrystfel/src/predict-refine.c @@ -871,7 +871,7 @@ int refine_prediction(struct image *image, Crystal *cr, total_shifts[0], total_shifts[1], total_shifts[2]); crystal_add_notes(cr, tmp); - if ( mille != NULL ) { + if ( (mille != NULL) && (n>4) ) { crystfel_mille_delete_last_record(mille); profile_start("mille-calc"); write_mille(mille, n, crystal_get_cell(cr), rps, image, |