lib/bio/db/gff/gfffasta.rb in bio-gff3-0.6.0 vs lib/bio/db/gff/gfffasta.rb in bio-gff3-0.8.0
- old
+ new
@@ -56,10 +56,10 @@
@h[id] = fastarec.data.strip
end
end
def fasta_rec header, buf
- fst = Bio::FastaFormat.new(header+"\n"+buf.to_s)
+ fst = Bio::FastaFormat.new(header+"\n"+buf.join(''))
return fst.definition, fst
end
end