From 6026a3eaf235b59671ac2437e0c9a4fa8878b856 Mon Sep 17 00:00:00 2001 From: Thomas White Date: Mon, 17 May 2021 11:37:21 +0200 Subject: Resolve FIXMEs and TODOs Prompted by the article linked below, for each FIXME/TODO I've either referenced an issue in the tracker, or removed it if it's not worth fixing. https://schleiss.io/plotting-source-code-todos-for-open-source-projects --- libcrystfel/src/image.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'libcrystfel/src/image.c') diff --git a/libcrystfel/src/image.c b/libcrystfel/src/image.c index 10313ca8..7ec79eaf 100644 --- a/libcrystfel/src/image.c +++ b/libcrystfel/src/image.c @@ -462,7 +462,7 @@ static double get_value(struct image *image, const char *from, if ( image_read_header_float(image, from, &val) == 0 ) { return val; } else { - return NAN; /* FIXME: Use out-of-band flag */ + return NAN; /* FIXME: Use out-of-band flag (GitLab #37) */ } } @@ -767,10 +767,8 @@ static void set_image_parameters(struct image *image, image->bw = dtempl->bandwidth; - /* FIXME: Possibly load spectrum from file */ image->spectrum = spectrum_generate_gaussian(image->lambda, image->bw); - } -- cgit v1.2.3