aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel/src
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2018-11-14 16:11:34 +0100
committerThomas White <taw@physics.org>2018-11-14 16:11:34 +0100
commit5184da5ca9ce34ddd3a291cf371a63ad1fa1f77d (patch)
tree7e9c4a96f818f65eaaef711194d35946479937c7 /libcrystfel/src
parentdabbe320ff1d54d8ad24954b1e391f1b58ec0866 (diff)
Fix error message about dimensionality of image data
Fixes CRYS-205
Diffstat (limited to 'libcrystfel/src')
-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;