diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/im-sandbox.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/im-sandbox.c b/src/im-sandbox.c index 60400ad8..8b7eb29c 100644 --- a/src/im-sandbox.c +++ b/src/im-sandbox.c @@ -219,6 +219,14 @@ static struct filename_plus_event *get_pattern(FILE *fh, int config_basename, if ( det->path_dim != 0 || det->dim_dim != 0 ) { + if ( is_cbf_file(filename) ) { + ERROR("Your geometry file is for a multi-event " + "format, but this file is in CBF format.\n"); + ERROR("Your geometry file probably needs to be " + "changed.\n"); + return NULL; + } + ev_list = initialize_event_list(); if ( scan_check == 1 ) { |