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

process_hkl: Make --stop-after work

parent bbb79123
......@@ -309,6 +309,10 @@ static void merge_all(FILE *fh, RefList *model, RefList *reference,
progress_bar(n_patterns, n_total_patterns-config_startafter,
"Merging");
if ( config_stopafter ) {
if ( n_patterns == config_stopafter ) break;
}
} while ( rval == 0 );
for ( refl = first_refl(model, &iter);
......
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