From 7861c81711c24c7cd3c3bb3f2befa0adcd6cc05e Mon Sep 17 00:00:00 2001
From: marco <marco@5a81b35b-ba03-0410-adc8-b2c5c5119f08>
Date: Wed, 22 Sep 2010 21:08:31 +0000
Subject: [PATCH] fix thinko. this time for real

git-svn-id: https://dng.biozentrum.unibas.ch/svn/openstructure/trunk@2727 5a81b35b-ba03-0410-adc8-b2c5c5119f08
---
 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