diff options
author | Thomas White <taw@physics.org> | 2014-10-23 13:26:10 +0200 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2014-10-23 17:02:33 +0200 |
commit | ab4db8ab3ce97ccad7bbad2a8cc6698cdd2d4c2d (patch) | |
tree | 8d9944c98aa596428276d2428d3b1257a647e3d7 /src | |
parent | 346d484df6d30d27072a3fb881fcc36705505197 (diff) |
Improve handling of missing wavelength
Diffstat (limited to 'src')
-rw-r--r-- | src/dw-hdfsee.c | 2 |
1 files changed, 2 insertions, 0 deletions
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 ) { |