Skip to content

Commit

Permalink
minor changes for revmap
Browse files Browse the repository at this point in the history
  • Loading branch information
jkanche committed Nov 22, 2023
1 parent 8bdd95b commit 7689d12
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/iranges/IRanges.py
Original file line number Diff line number Diff line change
Expand Up @@ -950,7 +950,7 @@ def get_elem_counter(idx):
result = IRanges(result_starts, result_widths)

if with_reverse_map is True:
result.set_mcols(BiocFrame({"revmap": result_revmaps}), in_place=True)
result._mcols.set_column("revmap", result_revmaps, in_place=True)

return result

Expand Down Expand Up @@ -1106,7 +1106,7 @@ def disjoin(self, with_reverse_map: bool = False) -> "IRanges":
result = IRanges(result_starts, result_widths)

if with_reverse_map is True:
result.set_mcols(BiocFrame({"revmap": result_revmaps}), in_place=True)
result._mcols.set_column("revmap", result_revmaps, in_place=True)

return result

Expand Down

0 comments on commit 7689d12

Please sign in to comment.