lib/rbbt/tsv/attach.rb in rbbt-util-5.13.6 vs lib/rbbt/tsv/attach.rb in rbbt-util-5.13.7
- old
+ new
@@ -112,10 +112,11 @@
end
key2, *parts2 = line2.sub("\n",'').split(sep, -1)
cols2 = parts2.length
end
- progress_monitor = Progress::Bar.new(size, 0, 100, "Merging fields") if monitor
+ #progress_monitor = Progress::Bar.new(size, 0, 100, "Merging fields") if monitor
+ progress_monitor = Log::ProgressBar.new(size, :desc => "Merging fields") if monitor
entry_hash = options
entry_hash.delete :sep if entry_hash[:sep] == "\t"
output.puts TSV.header_lines key_field1, fields1 + fields2, entry_hash if key_field1 and fields1 and fields2