diff options
author | Thomas White <taw@physics.org> | 2024-01-12 10:06:27 +0100 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2024-01-12 10:06:27 +0100 |
commit | 2d72edc620c6746bed5c10d148b45bb49a58c73a (patch) | |
tree | 0d75be46cbdd3f3daadcabf42d6cab1ec9dcf3ff | |
parent | 25cfcc9e110ff087f22e5c7945ff1ec37ac76e22 (diff) |
GUI: Fix Millepede options
-rw-r--r-- | src/gui_index.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui_index.c b/src/gui_index.c index 3241503c..2cc8e8db 100644 --- a/src/gui_index.c +++ b/src/gui_index.c @@ -1005,9 +1005,9 @@ static char **indexamajig_command_line(const char *geom_filename, if ( indexing_params->exclude_refls ) add_arg(args, n_args++, "--no-refls-in-stream"); if ( indexing_params->millepede ) { add_arg(args, n_args++, "--mille"); - add_arg_string(args, n_args++, "--mille-dir", mille_filename); + add_arg_string(args, n_args++, "mille-dir", mille_filename); + add_arg_int(args, n_args++, "max-mille-level", indexing_params->max_mille_level); } - if ( indexing_params->max_mille_level ) add_arg(args, n_args++, "--max-mille-level"); for ( i=0; i<indexing_params->n_metadata; i++ ) { add_arg_string(args, n_args++, "copy-header", indexing_params->metadata_to_copy[i]); |