Skip to content
Snippets Groups Projects
Commit ba6e54f9 authored by Studer Gabriel's avatar Studer Gabriel
Browse files

bugfix

parent 62cd2585
No related branches found
No related tags found
No related merge requests found
......@@ -36,7 +36,7 @@ bool BoundToSG(const ost::mol::AtomHandle& atom){
ost::mol::AtomHandleList bound_atoms = atom.GetBondPartners();
for(ost::mol::AtomHandleList::iterator i = bound_atoms.begin();
i != bound_atoms.end(); ++i){
if(i->GetResidue() != atom.GetResidue()) continue;
if(i->GetResidue() == atom.GetResidue()) continue;
if(i->GetName() != "SG") continue;
if(IsCysteine(i->GetResidue())) return true;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment