inprogress
authorcmzmasek@gmail.com <cmzmasek@gmail.com@ca865154-3058-d1c3-3e42-d8f55a55bdbd>
Tue, 12 Nov 2013 00:23:03 +0000 (00:23 +0000)
committercmzmasek@gmail.com <cmzmasek@gmail.com@ca865154-3058-d1c3-3e42-d8f55a55bdbd>
Tue, 12 Nov 2013 00:23:03 +0000 (00:23 +0000)
forester/ruby/evoruby/lib/evo/tool/phylogeny_factory.rb

index 93eac07..7f84afa 100644 (file)
@@ -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 )