From ebc9de99f54fb9256e172caf90581d13175031fb Mon Sep 17 00:00:00 2001 From: "cmzmasek@gmail.com" Date: Sat, 16 Nov 2013 00:43:16 +0000 Subject: [PATCH] inprogress --- forester/ruby/evoruby/lib/evo/tool/phylogenies_decorator.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/forester/ruby/evoruby/lib/evo/tool/phylogenies_decorator.rb b/forester/ruby/evoruby/lib/evo/tool/phylogenies_decorator.rb index 85e2478..c9f37ae 100644 --- a/forester/ruby/evoruby/lib/evo/tool/phylogenies_decorator.rb +++ b/forester/ruby/evoruby/lib/evo/tool/phylogenies_decorator.rb @@ -236,7 +236,7 @@ module Evoruby def get_id( phylogeny_file_name ) - phylogeny_file_name =~ /^([^_]+)/ + phylogeny_file_name =~ /^(.+?)__/ $1 end -- 1.7.10.2