From d8b2c6bc07dd0cd57884732d49615eb58cd462ae Mon Sep 17 00:00:00 2001 From: Thomas White Date: Thu, 11 May 2023 14:39:15 +0200 Subject: 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. --- libcrystfel/src/datatemplate.c | 1 - 1 file changed, 1 deletion(-) (limited to 'libcrystfel/src') 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); -- cgit v1.2.3