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

Address file does not load if list components added out of order #69

Closed theonlydvr closed 6 months ago

theonlydvr commented 6 months ago

Describe the bug When an AddressFile is loaded with components listed out of order but in the same list, a MalformedAddressFileException is raised.

To Reproduce Steps to reproduce the behavior:

  1. Create AddressFile with list components
  2. Add components out of order
  3. Load AddressFile

Expected behavior No crash, out of order adding should be allowed

Screenshots image