aboutsummaryrefslogtreecommitdiff
path: root/src/get_hkl.c
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2014-09-22 18:06:07 +0200
committerThomas White <taw@physics.org>2014-09-22 18:06:07 +0200
commit0a5a04cc90619a1973c91489c71585ce127df045 (patch)
treec1903fc77534cd97840330b914b98b7b1187bce0 /src/get_hkl.c
parent142e1ad4e0fad73d223c67a842dfb9728a3bf34c (diff)
Beam file removal, part I
Diffstat (limited to 'src/get_hkl.c')
-rw-r--r--src/get_hkl.c14
1 files changed, 1 insertions, 13 deletions
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);