flika-org / flika

An interactive image processing program for biologists written in Python.
http://flika-org.github.io/
MIT License
22 stars 1 forks source link

Kymograph update function fails on out of bounds #22

Closed BrettJSettle closed 7 years ago

BrettJSettle commented 7 years ago

Traceback (most recent call last): File "flika\flika\roi.py", line 432, in update_kymograph idx_to_keep = np.logical_not( (xx>=self.window.mx) | (xx<0) | (yy>=self.window.my) | (yy<0)) ValueError: operands could not be broadcast together with shapes (242,) (241,)

BrettJSettle commented 7 years ago

getMask implements an out of bounds check, which keeps this from happening