From f556ac1ccb2dfcd20a0b3476b47416a8bc414fc6 Mon Sep 17 00:00:00 2001 From: "cmzmasek@gmail.com" Date: Thu, 28 Nov 2013 04:07:42 +0000 Subject: [PATCH] inprogress --- .../ruby/evoruby/lib/evo/tool/multi_sequence_extractor.rb | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/forester/ruby/evoruby/lib/evo/tool/multi_sequence_extractor.rb b/forester/ruby/evoruby/lib/evo/tool/multi_sequence_extractor.rb index 8a2dadc..f6365d8 100644 --- a/forester/ruby/evoruby/lib/evo/tool/multi_sequence_extractor.rb +++ b/forester/ruby/evoruby/lib/evo/tool/multi_sequence_extractor.rb @@ -292,11 +292,10 @@ module Evoruby per_species_counter = 0 end puts " " + species_counter.to_s + ":" + current_species + " [" + my_readlink + "]" - log << species_counter.to_s + ": " + current_species + " [" + my_readlink + "]" + Constants::LINE_DELIMITER + log << species_counter.to_s << ": " << current_species << " [" + my_readlink + "]" << Constants::LINE_DELIMITER species_counter += 1 end - #puts " " + seq_name - log << " " + seq_name + Constants::LINE_DELIMITER + log << " " << seq_name << Constants::LINE_DELIMITER per_species_counter = per_species_counter + 1 seq = nil @@ -521,8 +520,8 @@ module Evoruby end def print_counts( per_species_counter, log, ld ) - puts " [sum: " + per_species_counter.to_s + "]" - log << " [sum: " + per_species_counter.to_s + "]" + ld + puts " sum: " + per_species_counter.to_s + log << " sum: " + per_species_counter.to_s + ld end def read_fasta_file( input ) -- 1.7.10.2