From 73a72373e1e807ea755fbeb072ad979034e6d05a Mon Sep 17 00:00:00 2001 From: "cmzmasek@gmail.com" Date: Tue, 12 Nov 2013 23:13:11 +0000 Subject: [PATCH] inprogress --- forester/ruby/evoruby/lib/evo/tool/msa_processor.rb | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/forester/ruby/evoruby/lib/evo/tool/msa_processor.rb b/forester/ruby/evoruby/lib/evo/tool/msa_processor.rb index e992b3b..d952277 100644 --- a/forester/ruby/evoruby/lib/evo/tool/msa_processor.rb +++ b/forester/ruby/evoruby/lib/evo/tool/msa_processor.rb @@ -301,8 +301,8 @@ module Evoruby Util.print_message( PRG_NAME, "Gap-proportion of original alignment : " + gp.to_s ) log << "Gap-proportion of original alignment : " + gp.to_s + ld else - Util.print_message( PRG_NAME, "the input is not aligned" ) - log << "The input is not aligned" + ld + Util.print_message( PRG_NAME, "Input is not aligned" ) + log << "Input is not aligned" + ld end all_names = Set.new() @@ -501,8 +501,8 @@ module Evoruby first = false end avg = sum / msa.get_number_of_seqs - Util.print_message( PRG_NAME, "output is not aligned" ) - log << "output is not aligned" + ld + Util.print_message( PRG_NAME, "Output is not aligned" ) + log << "Output is not aligned" + ld Util.print_message( PRG_NAME, "Shortest sequence : " + min.to_s ) log << "Shortest sequence : " + min.to_s + ld Util.print_message( PRG_NAME, "Longest sequence : " + max.to_s ) @@ -566,6 +566,7 @@ module Evoruby end Util.print_message( PRG_NAME, "Number of sequences in output : " + msa.get_number_of_seqs.to_s ) + log << "Number of sequences in output : " + msa.get_number_of_seqs.to_s + ld begin f = File.open( output + LOG_SUFFIX, 'a' ) -- 1.7.10.2