Skip to content

throw exception when chr1 > chr2 passed to MatrixZoomData ctor#140

Open
fredlas wants to merge 1 commit intoaidenlab:masterfrom
fredlas:master
Open

throw exception when chr1 > chr2 passed to MatrixZoomData ctor#140
fredlas wants to merge 1 commit intoaidenlab:masterfrom
fredlas:master

Conversation

@fredlas
Copy link
Contributor

@fredlas fredlas commented Jun 29, 2025

Fixes #119.

Possibly breaking change, in that if any program using this library worked around this issue by leaving input chromosomes incorrectly ordered, and then swapped their coordinates for all subsequent interactions with straw, then a previously working input can now crash that program.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Python: when c2 <= c1 output is not flipped back

1 participant