rastermap icon indicating copy to clipboard operation
rastermap copied to clipboard

Loading new data sometimes crashes rastermap

Open Vanwalleghem opened this issue 4 years ago • 0 comments

When loading a new dataset using "Load Data Matrix" while a dataset is already loaded results in the following error

Traceback (most recent call last):
  File "C:\ProgramData\Anaconda3\envs\mouseland\lib\site-packages\rastermap\gui.py", line 629, in mouse_moved_embedding
    dists = (self.embedding[self.selected,0] - x)**2 + (self.embedding[self.selected,1] - y)**2
IndexError: index 1 is out of bounds for axis 1 with size 1

Vanwalleghem avatar Aug 28 '19 12:08 Vanwalleghem