aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2012-03-05 17:16:18 +0100
committerThomas White <taw@physics.org>2012-03-05 17:16:29 +0100
commitb965a24d0f0f26f0f2d72135ab7ddfcd1a5f4442 (patch)
treec73c93d3d4ce960039995afb179e8648a776c81d
parentda2fe356cabf5826098744bdba85a56f1cb048af (diff)
process_hkl: Get rid of -b option, since it wasn't used for anything
-rw-r--r--src/process_hkl.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/src/process_hkl.c b/src/process_hkl.c
index bbb8b0ca..beb97ce7 100644
--- a/src/process_hkl.c
+++ b/src/process_hkl.c
@@ -41,7 +41,6 @@
#include "reflist-utils.h"
#include "symmetry.h"
#include "stream.h"
-#include "beam-parameters.h"
#include "reflist.h"
#include "image.h"
@@ -57,7 +56,6 @@ static void show_help(const char *s)
" -o, --output=<filename> Specify output filename for merged intensities\n"
" Default: processed.hkl).\n"
" -p, --pdb=<filename> PDB file to use (default: molecule.pdb).\n"
-" -b, --beam=<file> Get beam parameters from file (used for sigmas).\n"
"\n"
" --max-only Take the integrated intensity to be equal to the\n"
" maximum intensity measured for that reflection.\n"
@@ -444,7 +442,6 @@ int main(int argc, char *argv[])
float hist_min=0.0, hist_max=0.0;
double *hist_vals = NULL;
int hist_i;
- struct beam_params *beam = NULL;
int space_for_hist = 0;
char *histo_params = NULL;
@@ -463,7 +460,6 @@ int main(int argc, char *argv[])
{"pdb", 1, NULL, 'p'},
{"histogram", 1, NULL, 'g'},
{"hist-parameters", 1, NULL, 'z'},
- {"beam", 1, NULL, 'b'},
{0, 0, NULL, 0}
};
@@ -508,15 +504,6 @@ int main(int argc, char *argv[])
histo_params = strdup(optarg);
break;
- case 'b' :
- beam = get_beam_parameters(optarg);
- if ( beam == NULL ) {
- ERROR("Failed to load beam parameters"
- " from '%s'\n", optarg);
- return 1;
- }
- break;
-
case 0 :
break;