From 42c980cacac4ce22b15a90e86760a868190411af Mon Sep 17 00:00:00 2001 From: "cmzmasek@gmail.com" Date: Wed, 22 Jun 2011 01:30:34 +0000 Subject: [PATCH] in progress --- forester/ruby/evoruby/lib/evo/apps/taxonomy_processor.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/forester/ruby/evoruby/lib/evo/apps/taxonomy_processor.rb b/forester/ruby/evoruby/lib/evo/apps/taxonomy_processor.rb index 6abfa85..39a48b7 100644 --- a/forester/ruby/evoruby/lib/evo/apps/taxonomy_processor.rb +++ b/forester/ruby/evoruby/lib/evo/apps/taxonomy_processor.rb @@ -199,7 +199,8 @@ module Evoruby def modify_name( desc, counter, file, species_map, extract_taxonomy ) new_desc = nil my_species = nil - if desc =~ /^>?\s*\S{1,10}_([0-9A-Z]{3,5})/ + # if desc =~ /^>?\s*\S{1,10}_([0-9A-Z]{3,5})/ + if desc =~ /^>?\s*\S{1,10}_([A-Z]{3,5})/ new_desc = counter.to_s( 16 ) + "_" + $1 elsif SIMPLE new_desc = counter.to_s( 16 ) -- 1.7.10.2