diff options
-rw-r--r-- | src/ambigator.c | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/src/ambigator.c b/src/ambigator.c index 3b83d749..a7aedd39 100644 --- a/src/ambigator.c +++ b/src/ambigator.c @@ -635,7 +635,6 @@ int main(int argc, char *argv[]) struct cc_list *ccs; int ncorr; int ncorr_set = 0; - int stop_after = 0; float mean_nac; int n_threads = 1; @@ -651,7 +650,6 @@ int main(int argc, char *argv[]) {"end-assignments", 1, NULL, 4}, {"fg-graph", 1, NULL, 5}, {"ncorr", 1, NULL, 6}, - {"stop-after", 1, NULL, 7}, {0, 0, NULL, 0} }; @@ -723,13 +721,6 @@ int main(int argc, char *argv[]) } break; - case 7 : - if ( sscanf(optarg, "%i", &stop_after) != 1 ) { - ERROR("Invalid value for --stop-after\n"); - return 1; - } - break; - case 0 : break; @@ -834,15 +825,11 @@ int main(int argc, char *argv[]) n_crystals++; reflist_free(list); - if ( stop_after && (n_crystals == stop_after) ) break; - } fprintf(stderr, "Loaded %i crystals from %i chunks\r", n_crystals, ++n_chunks); - if ( stop_after && (n_crystals == stop_after) ) break; - } while ( 1 ); fprintf(stderr, "\n"); |