Closed raimund-schluessler closed 2 years ago
I will have to take a closer look here. This seems too invasive to me. Maybe it makes sense to not clear the image view or something.
I could resolve this by handling the data properly in the first place (see commits referencing #36).
The image view can be empty when images with only NaN values are viewed. In this case
np.array(self.image_view.image)
results in a zero-dimensional array, which cannot be indexed.I try to account for this here. Closes #36.