biod.pnpi.spb.ru
/
alexxy
/
gromacs-dssp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
54fc13a
)
asdsad
author
Max
<Infinity2573@gmail.com>
Mon, 19 Sep 2022 22:35:04 +0000
(
01:35
+0300)
committer
Max
<Infinity2573@gmail.com>
Mon, 19 Sep 2022 22:35:04 +0000
(
01:35
+0300)
src/dssptools.cpp
patch
|
blob
|
history
diff --git
a/src/dssptools.cpp
b/src/dssptools.cpp
index 1b9aec648790a424245e656333a2805d654dbc37..beac203dfd0f6fb0f90f960d007382e70a7a56f5 100644
(file)
--- a/
src/dssptools.cpp
+++ b/
src/dssptools.cpp
@@
-151,11
+151,10
@@
bool secondaryStructures::NoChainBreaksBetween(std::size_t Resi1, std::size_t Re
}
for (; i != j; ++i){
}
for (; i != j; ++i){
- if ( !(SecondaryStructuresStatusMap[i].isBreakPartnerWith(&SecondaryStructuresStatusMap[i + 1]) && SecondaryStructuresStatusMap[i + 1].isBreakPartnerWith(&SecondaryStructuresStatusMap[i])) ){
-
+ if ( SecondaryStructuresStatusMap[i].isBreakPartnerWith(&SecondaryStructuresStatusMap[i + 1]) && SecondaryStructuresStatusMap[i + 1].isBreakPartnerWith(&SecondaryStructuresStatusMap[i]) ){
+ std::cout << "Patternsearch has detected a CHAINBREAK between " << Resi1 << " and " << Resi2 << std::endl;
+ return false;
}
}
- std::cout << "Patternsearch has detected a CHAINBREAK between " << Resi1 << " and " << Resi2 << std::endl;
- return false;
}
return true;
}
}
return true;
}