Skip to content
Snippets Groups Projects
Commit 791d43e9 authored by marco's avatar marco
Browse files

fix thinko in sloppy hydrogen mode

git-svn-id: https://dng.biozentrum.unibas.ch/svn/openstructure/trunk@2725 5a81b35b-ba03-0410-adc8-b2c5c5119f08
parent 010128ec
No related branches found
No related tags found
No related merge requests found
...@@ -71,8 +71,10 @@ bool RuleBasedBuilder::HasUnknownAtoms(mol::ResidueHandle res) ...@@ -71,8 +71,10 @@ bool RuleBasedBuilder::HasUnknownAtoms(mol::ResidueHandle res)
mol::AtomHandleList::iterator i=atoms.begin(); mol::AtomHandleList::iterator i=atoms.begin();
for (mol::AtomHandleList::iterator for (mol::AtomHandleList::iterator
i=atoms.begin(), e=atoms.end(); i!=e; ++i) { i=atoms.begin(), e=atoms.end(); i!=e; ++i) {
if ((*i).Impl()->GetState()==std::numeric_limits<unsigned int>::max() && if ((*i).Impl()->GetState()==std::numeric_limits<unsigned int>::max()) {
this->GetStrictHydrogenMode() && (*i).GetElement()!="H") { if ((*i).GetElement()!="H" && this->GetStrictHydrogenMode()==false) {
continue;
}
return true; return true;
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment