X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=bp_bin%2Fread_genbank;h=006cb50f59fe454c7c2d765e774327db3cb983d6;hb=2f0fd91b461033529a4a72e161bd133252a22eb6;hp=7cabf2bf0adcbd1071cd6438b6fc86f211061445;hpb=b1fadc0ce9224b6a13f8deae332bb902a54c65af;p=biopieces.git diff --git a/bp_bin/read_genbank b/bp_bin/read_genbank index 7cabf2b..006cb50 100755 --- a/bp_bin/read_genbank +++ b/bp_bin/read_genbank @@ -55,7 +55,7 @@ Biopieces.open(options[:stream_in], options[:stream_out]) do |input, output| if options[:data_in] options[:data_in].each do |file| - Genbank.open(file, mode='r') do |gb| + Genbank.open(file, 'r') do |gb| gb.each(hash_keys, hash_feats, hash_quals) do |entry| output.puts entry