Commit b965a24d authored by Thomas White's avatar Thomas White
Browse files

process_hkl: Get rid of -b option, since it wasn't used for anything

parent da2fe356
...@@ -41,7 +41,6 @@ ...@@ -41,7 +41,6 @@
#include "reflist-utils.h" #include "reflist-utils.h"
#include "symmetry.h" #include "symmetry.h"
#include "stream.h" #include "stream.h"
#include "beam-parameters.h"
#include "reflist.h" #include "reflist.h"
#include "image.h" #include "image.h"
...@@ -57,7 +56,6 @@ static void show_help(const char *s) ...@@ -57,7 +56,6 @@ static void show_help(const char *s)
" -o, --output=<filename> Specify output filename for merged intensities\n" " -o, --output=<filename> Specify output filename for merged intensities\n"
" Default: processed.hkl).\n" " Default: processed.hkl).\n"
" -p, --pdb=<filename> PDB file to use (default: molecule.pdb).\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" "\n"
" --max-only Take the integrated intensity to be equal to the\n" " --max-only Take the integrated intensity to be equal to the\n"
" maximum intensity measured for that reflection.\n" " maximum intensity measured for that reflection.\n"
...@@ -444,7 +442,6 @@ int main(int argc, char *argv[]) ...@@ -444,7 +442,6 @@ int main(int argc, char *argv[])
float hist_min=0.0, hist_max=0.0; float hist_min=0.0, hist_max=0.0;
double *hist_vals = NULL; double *hist_vals = NULL;
int hist_i; int hist_i;
struct beam_params *beam = NULL;
int space_for_hist = 0; int space_for_hist = 0;
char *histo_params = NULL; char *histo_params = NULL;
...@@ -463,7 +460,6 @@ int main(int argc, char *argv[]) ...@@ -463,7 +460,6 @@ int main(int argc, char *argv[])
{"pdb", 1, NULL, 'p'}, {"pdb", 1, NULL, 'p'},
{"histogram", 1, NULL, 'g'}, {"histogram", 1, NULL, 'g'},
{"hist-parameters", 1, NULL, 'z'}, {"hist-parameters", 1, NULL, 'z'},
{"beam", 1, NULL, 'b'},
{0, 0, NULL, 0} {0, 0, NULL, 0}
}; };
...@@ -508,15 +504,6 @@ int main(int argc, char *argv[]) ...@@ -508,15 +504,6 @@ int main(int argc, char *argv[])
histo_params = strdup(optarg); histo_params = strdup(optarg);
break; 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 : case 0 :
break; break;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment