G-Node / nixpy

Python library for NIX
https://readthedocs.org/projects/nixpy
Other
19 stars 26 forks source link

[Block] Inconsistent ValueError/DuplicateName exception #525

Closed mpsonntag closed 3 years ago

mpsonntag commented 3 years ago

In NIX, creating any entity (DataArray, Tag, Section, etc) with the identical name of an existing entity on the same level will lead to a DuplicateName exception.

Except for the Block entity, where a duplicate name entry leads to a ValueError.

Is there a specific reason for the differing behavior?