From 37bcda635c73a2f571397a221be73538e2f3969a Mon Sep 17 00:00:00 2001 From: martinahansen Date: Tue, 23 Oct 2012 17:06:30 +0000 Subject: [PATCH] fixed nasty bug in classify_taxonomy git-svn-id: http://biopieces.googlecode.com/svn/trunk@1970 74ccb610-7750-0410-82ae-013aeee3265d --- bp_bin/classify_taxonomy | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.39.5