asdsad
authorMax <Infinity2573@gmail.com>
Sun, 17 Jul 2022 18:38:49 +0000 (21:38 +0300)
committerMax <Infinity2573@gmail.com>
Sun, 17 Jul 2022 18:38:49 +0000 (21:38 +0300)
src/dssptools.cpp

index 1e0da806b09d68659caf9556c1f3780b9f29bbcc..b335f3ac8d95796f80271a1c54f04e6a576d416e 100644 (file)
@@ -654,7 +654,8 @@ void DsspTool::initAnalysis(/*const TrajectoryAnalysisSettings &settings,*/const
            ++i;
            resicompare = top.atoms()->atom[static_cast<std::size_t>(*ai)].resind;
            IndexMap.push_back(_backboneAtoms);
-           IndexMap[i].setInfo(top.atoms()->resinfo[i]);
+           *(IndexMap[i].resinfo) = top.atoms()->resinfo[resicompare];
+//           std::cout << "First resi is " << IndexMap[i].resinfo->name << std::endl;
 
 //           if( verbose_ && i != 1 && (!IndexMap[i-1].getIndex(backboneAtomTypes::AtomCA) ||
 //              !IndexMap[i-1].getIndex(backboneAtomTypes::AtomC) ||