X-Git-Url: https://git.donarmstrong.com/?p=biopieces.git;a=blobdiff_plain;f=bp_bin%2Fpatscan_seq;h=28f028dec433ccb5ac8ccd32c6d4ba59b9d08a0d;hp=a209bc6f104fb004fc5aba4d48b4d5eda2d17029;hb=2f0fd91b461033529a4a72e161bd133252a22eb6;hpb=b1fadc0ce9224b6a13f8deae332bb902a54c65af diff --git a/bp_bin/patscan_seq b/bp_bin/patscan_seq index a209bc6..28f028d 100755 --- a/bp_bin/patscan_seq +++ b/bp_bin/patscan_seq @@ -161,7 +161,7 @@ seq_name_hash = {} seq_type = nil Biopieces.open(options[:stream_in], tmp_file) do |input, output| - Fasta.open(in_file, mode="w") do |fasta_io| + Fasta.open(in_file, "w") do |fasta_io| input.each_record do |record| if record[:SEQ_NAME] seq_name_hash[seq_name_count] = record[:SEQ_NAME]