arq5x / scurgen

A tool for detecting patterns in genomic data with space filling curves
9 stars 4 forks source link

Incorrect chrom coordinates when GUI zooming #17

Closed arq5x closed 11 years ago

arq5x commented 11 years ago

At least in my hands, when one zooms in using the GUI, the x/y coordinates are correct, but one can no longer obtain the chrom coordinates when clicking on a cell. I imagine this has to do with the callbacks and is easy to fix.

daler commented 11 years ago

Seems to work fine for me, but it's possible this is a subtle MPL issue: the zoom tool takes control of click event handling. This means that after zooming in, you have to click on the zoom tool button again to toggle it off, which gives control to other callbacks -- like the one that prints genomic coords. The pan tool works the same way, you have to toggle it off.

arq5x commented 11 years ago

Yep, user ignorance. Works great, closing.