From 1d5c2441c5f7ea9a84f869d8e3509fba454daad1 Mon Sep 17 00:00:00 2001 From: Marco Biasini <marco.biasini@unibas.ch> Date: Wed, 20 Oct 2010 17:34:44 +0200 Subject: [PATCH] if residue key is UNK, don't warn about unknown residue After all that's what UNK is used for --- modules/conop/src/conop.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/conop/src/conop.cc b/modules/conop/src/conop.cc index e2fc45e2e..76273ce5f 100644 --- a/modules/conop/src/conop.cc +++ b/modules/conop/src/conop.cc @@ -181,7 +181,7 @@ public: virtual bool VisitResidue(const mol::ResidueHandle& res) { String key=builder_->IdentifyResidue(res); - if (key=="UNK") { + if (key=="UNK" && res.GetKey()!="UNK") { unk_res_[res.GetKey()]+=1; } builder_->FillResidueProps(res); -- GitLab