asdasdasd
authorMax <Infinity2573@gmail.com>
Tue, 2 Aug 2022 09:08:26 +0000 (12:08 +0300)
committerMax <Infinity2573@gmail.com>
Tue, 2 Aug 2022 09:08:26 +0000 (12:08 +0300)
src/dssptools.cpp

index cf54e532f305ce82fbe84698ce279dc302f95743..087a61e24bcf39492cbbef7f56b33319fa18d646 100644 (file)
@@ -595,7 +595,7 @@ void DsspTool::calculateHBondEnergy(ResInfo& Donor,
                {
                    HbondEnergy = minEnergy;
 
-                   std::cout << "HBOND exists cause of distance" << std::endl;
+//                   std::cout << "HBOND exists cause of distance" << std::endl;
                }
                else
                {
@@ -607,9 +607,9 @@ void DsspTool::calculateHBondEnergy(ResInfo& Donor,
                        HbondEnergy = minEnergy;
                    }
 
-                   if ( HbondEnergy < -0.5 ){
-                       std::cout << "HBOND exists cause of energy" << std::endl;
-                   }
+//                   if ( HbondEnergy < -0.5 ){
+//                       std::cout << "HBOND exists cause of energy" << std::endl; // NOT working in original DSSP
+//                   }
 
 
                }
@@ -775,6 +775,10 @@ void DsspTool::analyzeFrame(int frnr, const t_trxframe &fr, t_pbc *pbc)
     }
     }
 
+    for(std::size_t i {0}; i < IndexMap.size(); ++i){
+        std::cout << i << " " << IndexMap[i].info->name << std::endl;
+    }
+
    PatternSearch.initiateSearch(IndexMap, initParams.PPHelices);
    calculateBends(fr, pbc);
    Storage.storageData(frnr, PatternSearch.patternSearch());