From 53d8575aae564594ae21f5ceb7f3c9ef1ab9078e Mon Sep 17 00:00:00 2001 From: "cmzmasek@gmail.com" Date: Sat, 14 Jul 2012 00:34:47 +0000 Subject: [PATCH] in progress --- forester/ruby/evoruby/lib/evo/apps/multi_sequence_extractor.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/forester/ruby/evoruby/lib/evo/apps/multi_sequence_extractor.rb b/forester/ruby/evoruby/lib/evo/apps/multi_sequence_extractor.rb index bf38d07..c81bb23 100644 --- a/forester/ruby/evoruby/lib/evo/apps/multi_sequence_extractor.rb +++ b/forester/ruby/evoruby/lib/evo/apps/multi_sequence_extractor.rb @@ -246,7 +246,7 @@ module Evoruby my_readlink = File.readlink( my_path ) end current_msa = read_fasta_file( my_file ) - end + if ( per_species_counter > 0 ) print_counts( per_species_counter, log, Constants::LINE_DELIMITER ) @@ -334,7 +334,7 @@ module Evoruby rescue Exception => e Util.fatal_error( PRG_NAME, "error: " + e.to_s ) end - end + end begin io.write_to_file( new_msa_normalized_ids, out_file_path_normalized_ids_fasta_file, fasta_writer ) -- 1.7.10.2