lib/iroki/main/main.rb in iroki-0.0.13 vs lib/iroki/main/main.rb in iroki-0.0.14
- old
+ new
@@ -96,10 +96,10 @@
if color_f
patterns = parse_color_map color_f,
exact_matching: exact,
auto_color: auto_color_hash
else
- samples, counts, is_single_group = Biom.open(biom_f).parse
+ samples, counts, is_single_group = Biom.open(biom_f, "rt").parse
if is_single_group
patterns = SingleGroupGradient.new(samples, counts, single_color).patterns
else
g1_counts = counts.map(&:first)