Skip to content

Commit

Permalink
Rename parameter 'text' to 'with_string' in entries method
Browse files Browse the repository at this point in the history
  • Loading branch information
kojix2 committed Sep 30, 2024
1 parent 253d546 commit 5cba09f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions lib/bio/bigwig.rb
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@ def intervals(chrom, start = 0, stop = -1)
intervals_raw(chrom, start, stop)
end

def entries(chrom, start = 0, stop = -1, text: true)
entries_raw(chrom, start, stop, text)
def entries(chrom, start = 0, stop = -1, with_string: true)
entries_raw(chrom, start, stop, with_string)
end
end
end
2 changes: 1 addition & 1 deletion test/bigwig_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ def test_bb_entry
[10_014_007, 10_014_289, "61047\t136\t-\t0.029\t0.42\t404"],
[10_014_373, 10_024_307, "61048\t630\t-\t5.420\t0.00\t2672399"]]
assert_equal expected, o
o = bb.entries("chr1", 10_000_000, 10_020_000, text: false)
o = bb.entries("chr1", 10_000_000, 10_020_000, with_string: false)
expected = [[10_009_333, 10_009_640],
[10_014_007, 10_014_289],
[10_014_373, 10_024_307]]
Expand Down

0 comments on commit 5cba09f

Please sign in to comment.