BlueBrain / libsonata

A python and C++ interface to the SONATA format
https://libsonata.readthedocs.io/en/stable/
GNU Lesser General Public License v3.0
12 stars 12 forks source link

Should empty node_set arrays be allowed #259

Closed mgeplf closed 1 year ago

mgeplf commented 1 year ago

Currently we raise an exception: https://github.com/BlueBrain/libsonata/blob/master/src/node_sets.cpp#L405

mgeplf commented 1 year ago

It's strange to have an empty array for a nodeset, but it doesn't seem to be forbidden, so it's probably worth it to stop raising this exception.

mgeplf commented 1 year ago

Fixed by #272