dbbs-lab / bsb-core

The Brain Scaffold Builder
https://bsb.readthedocs.io
GNU General Public License v3.0
21 stars 16 forks source link

assert_samelen does not properly check sizes #835

Closed drodarie closed 3 months ago

drodarie commented 4 months ago

Parentheses are missing in the test, it should be:

((len_ := len(arg)) if len_ is None else len(arg)) == len_ for arg in args