aboutsummaryrefslogtreecommitdiff
path: root/src/dw-hdfsee.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/dw-hdfsee.c')
-rw-r--r--src/dw-hdfsee.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/dw-hdfsee.c b/src/dw-hdfsee.c
index 6b49d3f7..03509c75 100644
--- a/src/dw-hdfsee.c
+++ b/src/dw-hdfsee.c
@@ -2383,7 +2383,7 @@ DisplayWindow *displaywindow_open(char *filename, const char *peaks,
int noisefilter, int calibmode, int colscale,
const char *element,
struct detector *det_geom,
- const char *beam,
+ struct beam_params *beam,
int show_rings, double *ring_radii,
int n_rings, double ring_size,
int median_filter)
@@ -2429,10 +2429,6 @@ DisplayWindow *displaywindow_open(char *filename, const char *peaks,
dw->curr_event = 0;
dw->ev_list = NULL;
- if ( beam != NULL ) {
- dw->image->beam = get_beam_parameters(beam);
- }
-
dw->image->det = det_geom;
dw->hdfile = hdfile_open(filename);