tne-lab / py-behav-box-v2

Pybehave is an open source software interface and framework for controlling behavioral experiments in neuroscience and psychology.
https://py-behav-box-v2.readthedocs.io/en/latest/
MIT License
3 stars 8 forks source link

NIDAQ Source doesn't behave well when closing components #92

Closed theonlydvr closed 1 month ago

theonlydvr commented 1 month ago

Describe the bug When a task is cleared (or generally when a component is closed) and then a new component is added, the source will crash.

To Reproduce Steps to reproduce the behavior:

  1. Add a task to the GUI which has a connection to a NIDAQSource
  2. Reload the task
  3. See error

Expected behavior Tasks can be reloaded without the source crashing.

Desktop (please complete the following information): All versions

theonlydvr commented 1 month ago

Fixed in f2e20f5