Skip to content

Commit dfef51d

Browse files
committed
Don't hardcode linclustv2 in setLinclustWorkflowDefaults
1 parent 0dccb77 commit dfef51d

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

‎src/commons/Parameters.cpp‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2795,8 +2795,8 @@ void Parameters::setDefaults() {
27952795
includeAdjacency = true;
27962796
adjIteration = 3;
27972797
clustHash = false;
2798-
linclustVersion = 2;
2799-
clusterVersion = 1;
2798+
linclustVersion = LINCLUST_VERSION2;
2799+
clusterVersion = CLUSTER_VERSION1;
28002800

28012801
// result2stats
28022802
stat = "";

‎src/commons/Parameters.h‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,7 @@ class Parameters {
100100
static const int LINCLUST_VERSION2 = 2;
101101
static const int CLUSTER_VERSION1 = 1;
102102
static const int CLUSTER_VERSION2 = 2;
103+
103104
static const int SEARCH_TYPE_AUTO = 0;
104105
static const int SEARCH_TYPE_PROTEIN = 1;
105106
static const int SEARCH_TYPE_TRANSLATED = 2;

‎src/workflow/Linclust.cpp‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ void setLinclustWorkflowDefaults(Parameters *p) {
1616
p->evalThr = 0.001;
1717
p->seqIdThr = 0.9;
1818
p->alignmentMode = Parameters::ALIGNMENT_MODE_SCORE_COV_SEQID; // set alignmentmode 3 as a default in linclust2
19-
p->linclustVersion = Parameters::LINCLUST_VERSION2;
2019
p->clustHash = false;
2120
}
2221

0 commit comments

Comments
 (0)