CodeSchmiedeHGW / BLITZ

Bulk Loading and Interactive Time series Zonal analysis
GNU General Public License v3.0
1 stars 0 forks source link

Drag & Drop of different files leads sometimes to errors. Restarting BLITZ solves it #20

Closed PiMaV closed 2 weeks ago

PiMaV commented 5 months ago

Traceback (most recent call last): File "C:\INP\Projekte\Python\BLITZ\blitz\layout\main.py", line 543, in load_images self.image_viewer.load_data( File "C:\INP\Projekte\Python\BLITZ\blitz\layout\viewer.py", line 94, in load_data self.setImage(self.data.image) File "C:\Users\Mattern\AppData\Local\Programs\Python\Python311\Lib\site-packages\pyqtgraph\imageview\ImageView.py", line 322, in setImage raise TypeError("Image must be NumPy array or any object " TypeError: Image must be NumPy array or any object that provides compatible attributes/methods: ['dtype', 'max', 'min', 'ndim', 'shape', 'size']

irkri commented 4 months ago

Can you test this again for PR #21? This should be fixed by the new file loading system.

PiMaV commented 4 months ago

when having played with data a bit (mean, etc.):

PiMaV commented 2 weeks ago

Not reproducable anymore...