aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel/src
diff options
context:
space:
mode:
Diffstat (limited to 'libcrystfel/src')
-rw-r--r--libcrystfel/src/datatemplate.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/libcrystfel/src/datatemplate.c b/libcrystfel/src/datatemplate.c
index 0da913d4..ac07abda 100644
--- a/libcrystfel/src/datatemplate.c
+++ b/libcrystfel/src/datatemplate.c
@@ -550,6 +550,9 @@ static int parse_field_for_panel(struct panel_template *panel, const char *key,
panel->pixel_pitch = 1.0/atof(val);
} else if ( strcmp(key, "max_adu") == 0 ) {
panel->max_adu = atof(val);
+ ERROR("WARNING: It's usually better not to set max_adu "
+ "in the geometry file. Use --max-adu during "
+ "merging instead.\n");
} else if ( strcmp(key, "flag_equal") == 0 ) {
if ( add_flag_value(panel, atof(val), FLAG_EQUAL) ) {