// 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].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;
+ std::cout << IndexMap[i].prevResi->info->nr;
+ std::cout << *(IndexMap[i - 1].prevResi->info->name) ;
+ std::cout << " have CA = " << IndexMap[i].prevResi->getIndex(backboneAtomTypes::AtomCA) ;
+ std::cout << " C = " << IndexMap[i].prevResi->getIndex(backboneAtomTypes::AtomC);
+ std::cout << " O = " << IndexMap[i].prevResi->getIndex(backboneAtomTypes::AtomO);
+ std::cout << " N = " << IndexMap[i].prevResi->getIndex(backboneAtomTypes::AtomN);
+ std::cout << " H = " << IndexMap[i].prevResi->getIndex(backboneAtomTypes::AtomH) << std::endl;
}
std::string atomname(*(top.atoms()->atomname[static_cast<std::size_t>(*ai)]));