Skip to content
Snippets Groups Projects
Commit 7861c817 authored by marco's avatar marco
Browse files

fix thinko. this time for real

git-svn-id: https://dng.biozentrum.unibas.ch/svn/openstructure/trunk@2727 5a81b35b-ba03-0410-adc8-b2c5c5119f08
parent d59bea9a
No related branches found
No related tags found
No related merge requests found
...@@ -72,7 +72,7 @@ bool RuleBasedBuilder::HasUnknownAtoms(mol::ResidueHandle res) ...@@ -72,7 +72,7 @@ bool RuleBasedBuilder::HasUnknownAtoms(mol::ResidueHandle res)
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()) {
if ((*i).GetElement()!="H" && this->GetStrictHydrogenMode()==false) { if ((*i).GetElement()=="H" && this->GetStrictHydrogenMode()==false) {
continue; 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