diff options
Diffstat (limited to 'libcrystfel')
-rw-r--r-- | libcrystfel/src/index.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libcrystfel/src/index.c b/libcrystfel/src/index.c index 07f563b7..c3f7c35d 100644 --- a/libcrystfel/src/index.c +++ b/libcrystfel/src/index.c @@ -248,6 +248,11 @@ void index_pattern(struct image *image, if ( indms == NULL ) return; + if ( image_feature_count(image->features) > 10000 ) { + STATUS("WARNING: The number of peaks is very large for '%s'.\n", + image->filename); + } + map_all_peaks(image); image->crystals = NULL; image->n_crystals = 0; |