diff options
author | Thomas White <taw@bitwiz.org.uk> | 2014-03-10 10:59:12 +0100 |
---|---|---|
committer | Thomas White <taw@bitwiz.org.uk> | 2014-03-10 10:59:12 +0100 |
commit | 8839635714fe802f088fc2ce4d788a57224482f8 (patch) | |
tree | c608931f2cc627f32e1756d774af479355029044 | |
parent | 2544135897b6e920d74f824c26bbf9a75df6d275 (diff) |
Remove --stop-after
-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"); |