From d60563224ad2cf976af580cc48b1568bd35b4716 Mon Sep 17 00:00:00 2001 From: Martin Steinegger Date: Thu, 7 Nov 2024 14:36:48 +0100 Subject: [PATCH] Fix convertalis for FS multimer --- src/strucclustutils/MultimerUtil.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/strucclustutils/MultimerUtil.h b/src/strucclustutils/MultimerUtil.h index dea547b5..eba164e8 100644 --- a/src/strucclustutils/MultimerUtil.h +++ b/src/strucclustutils/MultimerUtil.h @@ -216,8 +216,8 @@ static ComplexDataHandler parseScoreComplexResult(const char *data, Matcher::res float qCov = SmithWaterman::computeCov(qStartPos==-1 ? 0 : qStartPos, qEndPos, qLen); float dbCov = SmithWaterman::computeCov(dbStartPos==-1 ? 0 : dbStartPos, dbEndPos, dbLen); size_t alnLength = Matcher::computeAlnLength(qStartPos==-1 ? 0 : qStartPos, qEndPos, dbStartPos==-1 ? 0 : dbStartPos, dbEndPos); - double qTmScore = std::stod(entry[11]); - double tTmScore = std::stod(entry[12]); + double qTmScore = strtod(entry[11], NULL); + double tTmScore = strtod(entry[12], NULL); std::string uString = std::string(entry[13], entry[14] - entry[13]-1); std::string tString = std::string(entry[14], entry[15] - entry[14]-1); auto assId = Util::fast_atoi(entry[15]);