From: martinahansen Date: Tue, 23 Oct 2012 17:06:30 +0000 (+0000) Subject: fixed nasty bug in classify_taxonomy X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=37bcda635c73a2f571397a221be73538e2f3969a;p=biopieces.git fixed nasty bug in classify_taxonomy git-svn-id: http://biopieces.googlecode.com/svn/trunk@1970 74ccb610-7750-0410-82ae-013aeee3265d --- diff --git a/bp_bin/classify_taxonomy b/bp_bin/classify_taxonomy index 958ecb9..0bfb69c 100755 --- a/bp_bin/classify_taxonomy +++ b/bp_bin/classify_taxonomy @@ -68,8 +68,8 @@ class TaxNode def merge(node_new, node_old = self) node_new.children.each do |name, child| if node_old.children[name] - node_old.count += child.count - node_old.score += child.score + node_old.children[name].count += child.count + node_old.children[name].score += child.score merge(child, node_old.children[name]) else