Skip to content

Commit 5444574

Browse files
criniguezThePituLegend
authored andcommitted
Remove --only_score in align_benchmark
1 parent ce0d2fb commit 5444574

File tree

4 files changed

+2
-12
lines changed

4 files changed

+2
-12
lines changed

tools/README.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -187,9 +187,6 @@ For a detailed list of parameters for each algorithm, please refer to the main [
187187
# Percentage of HEW to consider that the estimation is not fitted in QuickEd.
188188
# This parameter sets the same percentage for both steps.
189189

190-
--only-score
191-
# Only compute the alignment score.
192-
193190
--force-scalar
194191
# Force the use of the scalar implementations of the algorithms.
195192
```

tools/align_benchmark/align_benchmark.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -153,10 +153,10 @@ void align_benchmark_run_algorithm(
153153
break;
154154
case alignment_edit_windowed:
155155
benchmark_windowed(align_input,parameters.window_size, parameters.overlap_size,
156-
parameters.force_scalar, parameters.only_score);
156+
parameters.force_scalar, false);
157157
break;
158158
case alignment_edit_banded:
159-
benchmark_banded(align_input,parameters.bandwidth, parameters.only_score);
159+
benchmark_banded(align_input,parameters.bandwidth, false);
160160
break;
161161
case alignment_edit_banded_hirschberg:
162162
benchmark_hirschberg(align_input,parameters.bandwidth);

tools/align_benchmark/align_benchmark_params.c

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,6 @@ align_bench_params_t parameters = {
4848
.hew_percentage = 15,
4949
.hew_threshold = 40,
5050
.force_scalar = false,
51-
.only_score = false,
5251
// Misc
5352
.check_display = false,
5453
.check_correct = false,
@@ -89,7 +88,6 @@ void usage(void) {
8988
" --overlap-size INT \n"
9089
" --hew-threshold INT \n"
9190
" --hew-percentage INT \n"
92-
" --only-score \n"
9391
" --force-scalar \n"
9492
" [Misc] \n"
9593
" --check|c 'display'|'correct'|'score'|'alignment' \n"
@@ -120,7 +118,6 @@ void parse_arguments(
120118
{ "hew-threshold", required_argument, 0, 2003 },
121119
{ "hew-percentage", required_argument, 0, 2004 },
122120
{ "force-scalar", no_argument, 0, 2005 },
123-
{ "only-score", no_argument, 0, 2006 },
124121
/* Misc */
125122
{ "check", required_argument, 0, 'c' },
126123
/* System */
@@ -202,9 +199,6 @@ void parse_arguments(
202199
case 2005: // --force-scalar
203200
parameters.force_scalar = true;
204201
break;
205-
case 2006: // --only-score
206-
parameters.only_score = true;
207-
break;
208202
/*
209203
* Misc
210204
*/

tools/align_benchmark/align_benchmark_params.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,6 @@ typedef struct {
6969
int hew_threshold;
7070
int hew_percentage;
7171
bool force_scalar;
72-
bool only_score;
7372
// Misc
7473
bool check_display;
7574
bool check_correct;

0 commit comments

Comments
 (0)