sadasd
authorMax <Infinity2573@gmail.com>
Mon, 29 Aug 2022 22:44:42 +0000 (01:44 +0300)
committerMax <Infinity2573@gmail.com>
Mon, 29 Aug 2022 22:44:42 +0000 (01:44 +0300)
src/dssptools.cpp

index a9edda1b60f2494fe2c814bd086bf73802acd402..f5bab86c94d8011c8f1d91492a76341a48c816e3 100644 (file)
@@ -751,11 +751,11 @@ void DsspTool::initAnalysis(/*const TrajectoryAnalysisSettings &settings,*/const
 //           std::cout << "Resi " << IndexMap[i].info->nr << *(IndexMap[i].info->name) << std::endl;
 //           std::cout << "Prev resi is " << IndexMap[i].prevResi->info->nr << *(IndexMap[i].prevResi->info->name) << std::endl;
 //           std::cout << "Prev resi's next resi is " << IndexMap[i - 1].nextResi->info->nr << *(IndexMap[i - 1].nextResi->info->name) << std::endl;
-             std::cout << IndexMap[i - 1].nextResi->info->nr << *(IndexMap[i - 1].nextResi->info->name) << " have CA = " << IndexMap[i-1].getIndex(backboneAtomTypes::AtomCA) <<
-                                                                                                                      " C = " << IndexMap[i-1].getIndex(backboneAtomTypes::AtomC) <<
-                                                                                                                      " O = " << IndexMap[i-1].getIndex(backboneAtomTypes::AtomO) <<
-                                                                                                                      " N = " << IndexMap[i-1].getIndex(backboneAtomTypes::AtomN) <<
-                                                                                                                      " H = " << IndexMap[i-1].getIndex(backboneAtomTypes::AtomH) <<
+             std::cout << IndexMap[i].prevResi->info->nr << *(IndexMap[i - 1].prevResi->info->name) << " have CA = " << IndexMap[i].prevResi->getIndex(backboneAtomTypes::AtomCA) <<
+                                                                                                                      " C = " << IndexMap[i].prevResi->getIndex(backboneAtomTypes::AtomC) <<
+                                                                                                                      " O = " << IndexMap[i].prevResi->getIndex(backboneAtomTypes::AtomO) <<
+                                                                                                                      " N = " << IndexMap[i].prevResi->getIndex(backboneAtomTypes::AtomN) <<
+                                                                                                                      " H = " << IndexMap[i].prevResi->getIndex(backboneAtomTypes::AtomH) <<
                                                                                                                       std::endl;
 
        }