in progress
authorcmzmasek@gmail.com <cmzmasek@gmail.com@ca865154-3058-d1c3-3e42-d8f55a55bdbd>
Wed, 22 Jun 2011 01:30:34 +0000 (01:30 +0000)
committercmzmasek@gmail.com <cmzmasek@gmail.com@ca865154-3058-d1c3-3e42-d8f55a55bdbd>
Wed, 22 Jun 2011 01:30:34 +0000 (01:30 +0000)
forester/ruby/evoruby/lib/evo/apps/taxonomy_processor.rb

index 6abfa85..39a48b7 100644 (file)
@@ -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 )