Skip to content

Bug: Re-running pupil analysis without reopening video causes “Data for plotting cannot be None or empty” error #14

Description

@faezehrabbani

When running pupil analysis a second time without reopening the video, the GUI crashes with the following error:

ValueError: Data for plotting cannot be None or empty.

ValueError: Data for plotting cannot be None or empty.

Traceback (most recent call last): File "C:\Users\cccc\miniforge3\envs\FaceIt\lib\site-packages\FACEIT_codes\main.py", line 948, in handle_pupil_results self.plot_handler.plot_result( File "C:\Users\cccc\miniforge3\envs\FaceIt\lib\site-packages\FACEIT_codes\display_and_plots.py", line 50, in plot_result raise ValueError("Data for plotting cannot be None or empty.") ValueError: Data for plotting cannot be None or empty.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions