Skip to content

Commit 36a7009

Browse files
committed
disable prostt5
1 parent 409b2d7 commit 36a7009

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ if (NOT CMAKE_BUILD_TYPE)
1010
endif ()
1111

1212
set(FOLDSEEK_FRAMEWORK_ONLY 1 CACHE INTERNAL "" FORCE)
13+
set(ENABLE_PROSTT5 0 CACHE INTERNAL "" FORCE)
1314
add_subdirectory(lib/foldseek EXCLUDE_FROM_ALL)
1415

1516
add_subdirectory(data)

src/strucclustutils/msa2lddt.cpp

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,6 @@ std::tuple<std::vector<float>, std::vector<int>, float, int> calculate_lddt(
261261
std::vector<float> perColumnScore(alnLength, 0.0);
262262
std::vector<int> perColumnCount(alnLength, 0);
263263

264-
float sum = 0.0;
265264
int numPairs = cigars.size() * (cigars.size() - 1) / 2;
266265

267266
// Sort subset vector by indices so we can initQuery in outer loop
@@ -271,7 +270,7 @@ std::tuple<std::vector<float>, std::vector<int>, float, int> calculate_lddt(
271270
//
272271
std::vector<float> scores(numPairs);
273272

274-
#pragma omp parallel reduction(+:sum)
273+
#pragma omp parallel
275274
{
276275
unsigned int thread_idx = 0;
277276
#ifdef OPENMP
@@ -367,7 +366,7 @@ std::tuple<std::vector<float>, std::vector<int>, float, int> calculate_lddt(
367366
}
368367
#pragma omp critical
369368
{
370-
for (size_t i = 0; i < alnLength; i++) {
369+
for (int i = 0; i < alnLength; i++) {
371370
perColumnCount[i] += perColumnCount_thread[i];
372371
perColumnScore[i] += perColumnScore_thread[i];
373372
}

0 commit comments

Comments
 (0)