From ab4db8ab3ce97ccad7bbad2a8cc6698cdd2d4c2d Mon Sep 17 00:00:00 2001 From: Thomas White Date: Thu, 23 Oct 2014 13:26:10 +0200 Subject: Improve handling of missing wavelength --- src/dw-hdfsee.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') diff --git a/src/dw-hdfsee.c b/src/dw-hdfsee.c index c81da1d5..a73b4abf 100644 --- a/src/dw-hdfsee.c +++ b/src/dw-hdfsee.c @@ -2438,6 +2438,8 @@ DisplayWindow *displaywindow_open(char *filename, const char *peaks, dw->image->det = det_geom; dw->image->beam = beam; + dw->image->lambda = 0.0; + dw->image->filename = filename; dw->hdfile = hdfile_open(filename); if ( dw->hdfile == NULL ) { -- cgit v1.2.3