aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel/src/datatemplate.c
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2023-05-11 14:39:15 +0200
committerThomas White <taw@physics.org>2023-05-11 14:49:36 +0200
commitd8b2c6bc07dd0cd57884732d49615eb58cd462ae (patch)
treeddc13e4dd83228986e1fa331a67bc5ff068d1f3c /libcrystfel/src/datatemplate.c
parent10592fc69d58ba4fdb99c0a7af4b957dbba314fe (diff)
Remove warning 'Cannot use adu_per_eV without image'
The warning isn't helpful for users, but commit c2574910 causes it to appear many times on almost every indexamajig run. The best option is just to remove it.
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);