vpclab / QuickCSF

A fast, adaptive approach to estimating contrast sensitivity function parameters
GNU General Public License v3.0
12 stars 5 forks source link

Crash on Python 3.9 - inhomogeneous shape error #8

Closed domstoppable closed 1 year ago

domstoppable commented 1 year ago
UNHANDLED EXCEPTION! ValueError: setting an array element with a sequence. The requested array has an inhomogeneous shape after 1 dimensions. The detected shape was (2,) + inhomogeneous part.
  File "/home/dom/code/QuickCSF/QuickCSF/app.py", line 91, in <lambda>
    QtCore.QTimer.singleShot(0, lambda: _start())
  File "/home/dom/code/QuickCSF/QuickCSF/app.py", line 72, in _start
    stimGenerator = StimulusGenerators.QuickCSFGenerator(degreesToPixels=degreesToPixels, **settings['Stimuli'])
  File "/home/dom/code/QuickCSF/QuickCSF/StimulusGenerators.py", line 36, in __init__
domstoppable commented 1 year ago

Fixed by 3c0969dca202df77758f3b913753bba0de79cfdd