Skip to content

Error in Monitor Center when "Plot gamma" is clicked with no calibration data loaded #3384

@mdcutone

Description

@mdcutone

Minor issue but raises the following exception:

Traceback (most recent call last):
  File "C:\Program Files\PsychoPy3\lib\site-packages\psychopy\monitors\MonitorCenter.py", line 1028, in plotGamma
    if lumsPre.any() != None:
AttributeError: 'NoneType' object has no attribute 'any'

Metadata

Metadata

Assignees

No one assigned

    Labels

    🐞 bugIssue describes a bug (crash or error) or undefined behavior.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions