inprogress
authorcmzmasek@gmail.com <cmzmasek@gmail.com@ca865154-3058-d1c3-3e42-d8f55a55bdbd>
Sat, 16 Nov 2013 00:43:16 +0000 (00:43 +0000)
committercmzmasek@gmail.com <cmzmasek@gmail.com@ca865154-3058-d1c3-3e42-d8f55a55bdbd>
Sat, 16 Nov 2013 00:43:16 +0000 (00:43 +0000)
forester/ruby/evoruby/lib/evo/tool/phylogenies_decorator.rb

index 85e2478..c9f37ae 100644 (file)
@@ -236,7 +236,7 @@ module Evoruby
 
 
     def get_id( phylogeny_file_name )
-      phylogeny_file_name =~ /^([^_]+)/
+      phylogeny_file_name =~ /^(.+?)__/
       $1
     end