aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel/src/hdf5-file.c
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2014-11-17 11:06:42 +0100
committerThomas White <taw@physics.org>2014-11-17 11:06:42 +0100
commit8a88f9bdd200645ceb30a2c136b865528c40b1ee (patch)
tree2e37d474f05c1a5f39b2712de8f9114fabde5426 /libcrystfel/src/hdf5-file.c
parent3f58055d53717a21ea36229445bdeaa1fbc4afbf (diff)
Tolerate having no wavelength
Diffstat (limited to 'libcrystfel/src/hdf5-file.c')
-rw-r--r--libcrystfel/src/hdf5-file.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/libcrystfel/src/hdf5-file.c b/libcrystfel/src/hdf5-file.c
index 615a2faf..c5ac5efc 100644
--- a/libcrystfel/src/hdf5-file.c
+++ b/libcrystfel/src/hdf5-file.c
@@ -1264,14 +1264,10 @@ int hdf5_read2(struct hdfile *f, struct image *image, struct event *ev,
if ( (image->lambda > 1.0) || (image->lambda < 1e-20) ) {
- /* Error message covers a silly value in the beam file
- * or in the HDF5 file. */
- ERROR("Nonsensical wavelength (%e m) value "
+ ERROR("WARNING: Nonsensical wavelength (%e m) value "
"for file: %s, event: %s.\n",
image->lambda, image->filename,
get_event_string(image->event));
- hdfile_close(f);
- return 1;
}
}