diff options
author | Valerio Mariani <valerio.mariani@desy.de> | 2015-02-03 13:57:50 +0100 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2015-02-05 15:24:31 +0100 |
commit | 30a43a9ccadfb72432264fdb6a5bca8540b06e86 (patch) | |
tree | a2f50577ecef7ca9663136408a8816a7cfec2fd9 /src/indexamajig.c | |
parent | caf40e65f8a658ae72b9f77a4af60651da9236e6 (diff) |
Remove --element option from inxexamajig
Diffstat (limited to 'src/indexamajig.c')
-rw-r--r-- | src/indexamajig.c | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/src/indexamajig.c b/src/indexamajig.c index e3daa1c9..44f067e2 100644 --- a/src/indexamajig.c +++ b/src/indexamajig.c @@ -125,9 +125,6 @@ static void show_help(const char *s) " --check-hdf5-snr Check SNR for peaks from --peaks=hdf5.\n" " --peak-radius=<r> Integration radii for peak search.\n" " --int-radius=<r> Set the integration radii. Default: 4,5,7.\n" -"-e, --image=<element> Use this image from the HDF5 file.\n" -" Example: /data/data0.\n" -" Default: The first one found.\n" " --push-res=<n> Integrate higher than apparent resolution cutoff.\n" " --highres=<n> Absolute resolution cutoff in Angstroms.\n" "\n" @@ -217,7 +214,6 @@ int main(int argc, char *argv[]) iargs.det = NULL; iargs.peaks = PEAK_ZAEF; iargs.beam = &beam; - iargs.element = NULL; iargs.hdf5_peak_path = strdup("/processing/hitfinder/peakinfo"); iargs.cxi_hdf5_peaks = 0; iargs.copyme = NULL; @@ -256,7 +252,6 @@ int main(int argc, char *argv[]) {"pdb", 1, NULL, 'p'}, {"prefix", 1, NULL, 'x'}, {"threshold", 1, NULL, 't'}, - {"image", 1, NULL, 'e'}, {"beam", 1, NULL, 'b'}, /* Long-only options with no arguments */ @@ -303,7 +298,7 @@ int main(int argc, char *argv[]) }; /* Short options */ - while ((c = getopt_long(argc, argv, "hi:o:z:p:x:j:g:t:e:vb:", + while ((c = getopt_long(argc, argv, "hi:o:z:p:x:j:g:t:vb:", longopts, NULL)) != -1) { switch (c) { @@ -355,10 +350,6 @@ int main(int argc, char *argv[]) iargs.threshold = strtof(optarg, NULL); break; - case 'e' : - iargs.element = strdup(optarg); - break; - case 2 : speaks = strdup(optarg); break; |