Skip to content
Snippets Groups Projects
Commit 7678327c authored by Valerio Mariani's avatar Valerio Mariani
Browse files

Fixed removal of terminal OXT oxygens when removing non-standard residues

parent b872fa12
Branches
Tags
No related merge requests found
......@@ -289,6 +289,7 @@ int main(int argc, char *argv[])
}
std::cerr << " --> removed " << hremoved << " hydrogen atoms" << std::endl;
}
if (rm_oxt_atoms) {
std::cerr << "removing OXT atoms" << std::endl;
int oremoved=0;
......@@ -302,19 +303,6 @@ int main(int argc, char *argv[])
std::cerr << " --> removed " << oremoved << " OXT atoms" << std::endl;
}
if (rm_non_std) {
std::cerr << "removing OXT atoms" << std::endl;
int oremoved=0;
AtomHandleList atoms=ent.GetAtomList();
for (AtomHandleList::const_iterator i=atoms.begin(), e=atoms.end(); i!=e; ++i) {
if (i->GetName()=="OXT") {
edi.DeleteAtom(*i);
oremoved++;
}
}
std::cerr << " --> removed " << oremoved << " OXT atoms" << std::endl;
}
checker.CheckForCompleteness();
checker.CheckForUnknownAtoms();
checker.CheckForNonStandard();
......@@ -339,6 +327,7 @@ int main(int argc, char *argv[])
}
std::cerr << std::endl;
}
if (assign_elem) {
ChainHandleList chains=ent.GetChainList();
for (ChainHandleList::const_iterator c=chains.begin();c!=chains.end();++c) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment