aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel/src/image.c
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2021-05-17 11:37:21 +0200
committerThomas White <taw@physics.org>2021-05-17 11:52:42 +0200
commit6026a3eaf235b59671ac2437e0c9a4fa8878b856 (patch)
treee68feddd893f3e8e67bc297fdc9d9ce2fbb7be4e /libcrystfel/src/image.c
parentaffdfe20be27586a65b4db483f04481008ae63fe (diff)
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
Diffstat (limited to 'libcrystfel/src/image.c')
-rw-r--r--libcrystfel/src/image.c4
1 files changed, 1 insertions, 3 deletions
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);
-
}