From: martinahansen Date: Wed, 12 Oct 2011 18:18:35 +0000 (+0000) Subject: variable rename X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=3aca8fa2ec198eaed6f21f9d85b11a3ddf9c0c14;p=biopieces.git variable rename git-svn-id: http://biopieces.googlecode.com/svn/trunk@1550 74ccb610-7750-0410-82ae-013aeee3265d --- diff --git a/bp_bin/write_fasta_files b/bp_bin/write_fasta_files index 3ffeb82..da4a1c6 100755 --- a/bp_bin/write_fasta_files +++ b/bp_bin/write_fasta_files @@ -49,8 +49,8 @@ Biopieces.open(options[:stream_in], options[:stream_out]) do |input, output| if fh_hash.has_key? record[key].to_sym fasta_io = fh_hash[record[key].to_sym] else - mid_file = File.join(options[:dir], record[key] + ".fasta") - fasta_io = Fasta.open(mid_file, "w") + fasta_file = File.join(options[:dir], record[key] + ".fasta") + fasta_io = Fasta.open(fasta_file, "w") fh_hash[record[key].to_sym] = fasta_io end