aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2014-09-24 13:48:01 +0200
committerThomas White <taw@physics.org>2014-09-24 13:48:01 +0200
commit91ee519787c03879bfa1ca37ff5fd4118f38f690 (patch)
tree30f77832613114bdc3d12d6a74785021375826b2 /libcrystfel
parent31b5e03ba717992d7587670ea15cb0da3a05a4fe (diff)
Remove debug
Diffstat (limited to 'libcrystfel')
-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 ce0824c6..eb304a76 100644
--- a/libcrystfel/src/hdf5-file.c
+++ b/libcrystfel/src/hdf5-file.c
@@ -1281,12 +1281,8 @@ int hdf5_read2(struct hdfile *f, struct image *image, struct event *ev,
fill_in_beam_parameters(image->beam, f, ev, image);
- STATUS("Event: %s\n", get_event_string(image->event));
- STATUS("Wavelength: %e m\n", image->lambda);
- STATUS("Filename: %s\n", image->filename);
+ if ( (image->lambda > 1.0) || (image->lambda < 1e-20) ) {
- 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 "