From 0a5a04cc90619a1973c91489c71585ce127df045 Mon Sep 17 00:00:00 2001 From: Thomas White Date: Mon, 22 Sep 2014 18:06:07 +0200 Subject: Beam file removal, part I --- src/get_hkl.c | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) (limited to 'src/get_hkl.c') diff --git a/src/get_hkl.c b/src/get_hkl.c index 72b73041..52798a89 100644 --- a/src/get_hkl.c +++ b/src/get_hkl.c @@ -42,7 +42,6 @@ #include "utils.h" #include "reflist-utils.h" #include "symmetry.h" -#include "beam-parameters.h" #include "cell.h" #include "cell-utils.h" @@ -411,8 +410,6 @@ int main(int argc, char *argv[]) char *input_file = NULL; char *template = NULL; char *output = NULL; - char *beamfile = NULL; - struct beam_params *beam = NULL; RefList *input; double adu_per_photon = 0.0; int have_adu_per_photon = 0; @@ -448,7 +445,7 @@ int main(int argc, char *argv[]) }; /* Short options */ - while ((c = getopt_long(argc, argv, "ht:o:i:w:y:e:b:p:", + while ((c = getopt_long(argc, argv, "ht:o:i:w:y:e:p:", longopts, NULL)) != -1) { switch (c) { @@ -553,15 +550,6 @@ int main(int argc, char *argv[]) return 1; } - if ( beamfile != NULL ) { - beam = get_beam_parameters(beamfile); - if ( beam == NULL ) { - ERROR("Failed to load beam parameters from '%s'\n", - beamfile); - return 1; - } - } - if ( holo_str != NULL ) { holo = get_pointgroup(holo_str); free(holo_str); -- cgit v1.2.3