Skip to content

Commit

Permalink
changed dbtype comparision in AlignmentSymmetry
Browse files Browse the repository at this point in the history
  • Loading branch information
AnnSeidel committed Feb 11, 2020
1 parent 2a829ae commit e1a1c12
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/clustering/AlignmentSymmetry.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ void AlignmentSymmetry::readInData(DBReader<unsigned int>*alnDbr, DBReader<unsig
const unsigned int key = (unsigned int) strtoul(dbKey, NULL, 10);
const size_t currElement = seqDbr->getId(key);
if (elementScoreTable != NULL) {
if (alnType == Parameters::DBTYPE_ALIGNMENT_RES) {
if (Parameters::isEqualDbtype(alnType,Parameters::DBTYPE_ALIGNMENT_RES)) {
if (scoretype == Parameters::APC_ALIGNMENTSCORE) {
//column 1 = alignment score
Util::parseByColumnNumber(data, similarity, 1);
Expand All @@ -74,7 +74,7 @@ void AlignmentSymmetry::readInData(DBReader<unsigned int>*alnDbr, DBReader<unsig
elementScoreTable[i][writePos] = (unsigned short) (atof(similarity) * 1000.0f);
}
}
else if (alnType == Parameters::DBTYPE_PREFILTER_RES) {
else if (Parameters::isEqualDbtype(alnType,Parameters::DBTYPE_PREFILTER_RES)) {
//column 1 = alignment score or sequence identity [0-100]
Util::parseByColumnNumber(data, similarity, 1);
short sim = atoi(similarity);
Expand Down

0 comments on commit e1a1c12

Please sign in to comment.