Commit 82eda73a authored by Jan Oliver Oelerich's avatar Jan Oliver Oelerich

Re-added defocus CLI parameter for `stemsalabim` binary

parent bffc152e
......@@ -50,6 +50,7 @@ void Params::initFromCLI(int argc, const char **argv) {
HelpFlag help(parser, "help", "Display this help menu", {'h', "help"});
ValueFlag<string> params(parser, "params", "The parameter file path.", {'p', "params"});
ValueFlag<unsigned int> num_threads(parser, "num-threads", "The number of threads per MPI proc.", {"num-threads"});
ValueFlag<float> defocus(parser, "defocus", "The probe defocus.", {'d', "defocus"});
ValueFlag<unsigned int> pkgsize(parser, "package-size", "Number of tasks in a MPI work package.", {"package-size"});
ValueFlag<string> output_file(parser, "output-file", "The output file path.", {'o', "output-file"});
ValueFlag<string> crystal_file(parser, "crystal-file", "The crystal file path.", {'c', "crystal-file"});
......@@ -104,6 +105,11 @@ void Params::initFromCLI(int argc, const char **argv) {
_crystal_file = get(crystal_file);
if(defocus) {
_probe_defocus = get(defocus);
_uuid = sole::uuid4().str();
Markdown is supported
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