Validator does not promote integer types across signedness #470
Labels
category: bug
errors in the code or code behavior
topic: validator
issues related to validation of files
Related to NeurodataWithoutBorders/pynwb#1321 and https://dandiarchive.slack.com/archives/C011LRNU2F7/p1605978955012100?thread_ts=1605798117.007200&cid=C011LRNU2F7.
The file
HardwareTests-V2-MIES-187d9143.zip validates against the cached spec (2.2.4 core and 1.1.3 hdmf). But fails against the stock schemas of pynwb 1.4.0.
The validation error is incorrect as every uint8 can be represented as int32.
Edit: It might be enough to throw a couple of new values into
hdmf/src/hdmf/validate/validator.py
Lines 21 to 40 in fab5660
The text was updated successfully, but these errors were encountered: