diff options
Diffstat (limited to 'libcrystfel/src/crystfel-mille.c')
-rw-r--r-- | libcrystfel/src/crystfel-mille.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/libcrystfel/src/crystfel-mille.c b/libcrystfel/src/crystfel-mille.c index 1f19d3dc..0fca6f30 100644 --- a/libcrystfel/src/crystfel-mille.c +++ b/libcrystfel/src/crystfel-mille.c @@ -152,7 +152,12 @@ void write_mille(Mille *mille, int n, UnitCell *cell, int i; /* No groups -> no refinement */ - if ( image->detgeom->top_group == NULL ) return; + if ( image->detgeom->top_group == NULL ) { + ERROR("Cannot write calibration data (--mille) because " + "geometry does not contain hierarchy information " + "(group 'all' not found)\n"); + return; + } /* Local parameters */ const enum gparam rvl[] = |