aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel/src/hdf5-file.c
diff options
context:
space:
mode:
Diffstat (limited to 'libcrystfel/src/hdf5-file.c')
-rw-r--r--libcrystfel/src/hdf5-file.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/libcrystfel/src/hdf5-file.c b/libcrystfel/src/hdf5-file.c
index f9c2aa97..9cc03f0b 100644
--- a/libcrystfel/src/hdf5-file.c
+++ b/libcrystfel/src/hdf5-file.c
@@ -2649,8 +2649,10 @@ static int check_dims(struct hdfile *hdfile, struct panel *p, struct event *ev,
} else if ( panel_path_dim != *global_path_dim ) {
- ERROR("Data blocks paths for panels must have the same number"
- " of placeholders\n");
+ ERROR("All panels must have the same number of frames\n");
+ ERROR("Panel %s has %i frames in one dimension, but the first "
+ "panel has %i.\n",
+ p->name, panel_path_dim, *global_path_dim);
free(size);
free(max_size);
return 1;