]> git.donarmstrong.com Git - biopieces.git/commitdiff
variable rename
authormartinahansen <martinahansen@74ccb610-7750-0410-82ae-013aeee3265d>
Wed, 12 Oct 2011 18:18:35 +0000 (18:18 +0000)
committermartinahansen <martinahansen@74ccb610-7750-0410-82ae-013aeee3265d>
Wed, 12 Oct 2011 18:18:35 +0000 (18:18 +0000)
git-svn-id: http://biopieces.googlecode.com/svn/trunk@1550 74ccb610-7750-0410-82ae-013aeee3265d

bp_bin/write_fasta_files

index 3ffeb82c5608eff45e7b72e53ad49484b4540152..da4a1c6d347cb22210c1d504327429a7813791fb 100755 (executable)
@@ -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