From 5434c800bc4852faa4cc84551f2811d00c263375 Mon Sep 17 00:00:00 2001 From: "cmzmasek@gmail.com" Date: Tue, 12 Nov 2013 00:23:03 +0000 Subject: [PATCH] inprogress --- forester/ruby/evoruby/lib/evo/tool/phylogeny_factory.rb | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/forester/ruby/evoruby/lib/evo/tool/phylogeny_factory.rb b/forester/ruby/evoruby/lib/evo/tool/phylogeny_factory.rb index 93eac07..7f84afa 100644 --- a/forester/ruby/evoruby/lib/evo/tool/phylogeny_factory.rb +++ b/forester/ruby/evoruby/lib/evo/tool/phylogeny_factory.rb @@ -264,11 +264,12 @@ module Evoruby end def update_phylo_pl_options( phylo_pl_options, bootstraps ) - unless phylo_pl_options =~ /B\d/ - phylo_pl_options = 'B' + bootstraps.to_s + phylo_pl_options + opts = phylo_pl_options + unless opts =~ /B\d/ + opts = 'B' + bootstraps.to_s + opts end - phylo_pl_options = '-' + phylo_pl_options - phylo_pl_options + opts = '-' + opts + opts end def subst_min_length( command, id, min_lengths ) -- 1.7.10.2