Skip to content
Snippets Groups Projects
Commit c03972f8 authored by Marco Biasini's avatar Marco Biasini
Browse files

fix thinko. this time for real

parent 791d43e9
No related branches found
No related tags found
No related merge requests found
......@@ -72,7 +72,7 @@ bool RuleBasedBuilder::HasUnknownAtoms(mol::ResidueHandle res)
for (mol::AtomHandleList::iterator
i=atoms.begin(), e=atoms.end(); i!=e; ++i) {
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;
}
return true;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment