From c03972f8e8972c5e2f0e354821fbddf7e186fb82 Mon Sep 17 00:00:00 2001
From: Marco Biasini <marco.biasini@unibas.ch>
Date: Wed, 22 Sep 2010 15:13:02 +0200
Subject: [PATCH] fix thinko. this time for real

---
 modules/conop/src/rule_based_builder.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/conop/src/rule_based_builder.cc b/modules/conop/src/rule_based_builder.cc
index a7dcc3ed5..8264dc5ba 100644
--- a/modules/conop/src/rule_based_builder.cc
+++ b/modules/conop/src/rule_based_builder.cc
@@ -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;
-- 
GitLab