G-Node / nix

Neuroscience information exchange format
https://readthedocs.org/projects/nixio/
Other
66 stars 36 forks source link

Tag/Multitag hasFeature(name) and getFeature(name) do not work properly #650

Closed jgrewe closed 7 years ago

jgrewe commented 7 years ago

Actually this is no bug but a "non-feature", i.e. the method is only supposed to take an id. In case one passes a name, it does not complain but also does not return a thing. One wonders, if we should add searching by name.

achilleas-k commented 7 years ago

It would be nice to support retrieval by name. I think it someone might expect that it would work since retrieving items by name in addition to ID is common throughout the library.