nix icon indicating copy to clipboard operation
nix copied to clipboard

DataTag ctor throwing errors

Open balint42 opened this issue 11 years ago • 0 comments

Currently the DataTag ctor will throw errors if an invalid DataTag is opened: it uses the positions method to set the supplied obligatory DataArray as positions array. This is not a good situation, as the error will obstruct every other operation (e.g. validation) one could want to perform on the DataTag. Thus we should perhaps consider not doing any kind of check in the ctor and set the supplied DataArray's id no matter what.

balint42 avatar Jul 27 '14 14:07 balint42