Skip to content

Commit

Permalink
Merge branch 'master' into getters_and_setters
Browse files Browse the repository at this point in the history
  • Loading branch information
jkanche committed Oct 31, 2023
2 parents 17668e8 + 0c92797 commit c6eaec6
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/test_IRanges.py
Original file line number Diff line number Diff line change
Expand Up @@ -114,10 +114,10 @@ def test_IRanges_setitem():
assert (x.get_width() == np.array([4, 60, 70, 7])).all()
assert x.get_names() is None

# x = IRanges(starts, widths, mcols = BiocFrame({"foo": ['a', 'b', 'c', 'd']}))
# y = IRanges(starts2, widths2, mcols = BiocFrame({"foo": ['A', 'B', 'C', 'D']}))
# x[1:3] = y[1:3]
# assert x.get_mcols().column("foo") == ['a', 'B', 'C', 'd']
x = IRanges(starts, widths, mcols=BiocFrame({"foo": ["a", "b", "c", "d"]}))
y = IRanges(starts2, widths2, mcols=BiocFrame({"foo": ["A", "B", "C", "D"]}))
x[1:3] = y[1:3]
assert x.get_mcols().column("foo") == ["a", "B", "C", "d"]

x = IRanges(starts, widths, names=["a", "b", "c", "d"])
y = IRanges(starts2, widths2, names=["A", "B", "C", "D"])
Expand Down

0 comments on commit c6eaec6

Please sign in to comment.