aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel/src/datatemplate.c
diff options
context:
space:
mode:
Diffstat (limited to 'libcrystfel/src/datatemplate.c')
-rw-r--r--libcrystfel/src/datatemplate.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/libcrystfel/src/datatemplate.c b/libcrystfel/src/datatemplate.c
index 504f0514..4ec96cfd 100644
--- a/libcrystfel/src/datatemplate.c
+++ b/libcrystfel/src/datatemplate.c
@@ -2072,7 +2072,6 @@ struct detgeom *create_detgeom(struct image *image,
case ADU_PER_EV:
if ( image == NULL ) {
p->adu_per_photon = NAN;
- ERROR("Cannot use adu_per_eV without image\n");
} else {
p->adu_per_photon = tmpl->adu_scale
* ph_lambda_to_eV(image->lambda);