hdmf-dev / hdmf

The Hierarchical Data Modeling Framework
http://hdmf.readthedocs.io
Other
46 stars 26 forks source link

spec boolean written as string #532

Closed bendichter closed 3 years ago

bendichter commented 3 years ago

In some environments, a cached spec with booleans (e.g. an attribute where required=False) is written as required: "false" (false as a string instead of a bool). This writes without error but causes a build error when it is read in pynwb with load_namespaces=True. @owoolnough came across this error and I have not yet been able to reproduce the write error.

rly commented 3 years ago

Do we know whether this was written with PyNWB, MatNWB, or other? What version of the schema was this?

bendichter commented 3 years ago

Oh it might have been MatNWB. That would explain it!

On Mon, Mar 1, 2021, 6:18 PM Ryan Ly notifications@github.com wrote:

Do we know whether this was written with PyNWB, MatNWB, or other? What version of the schema was this?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/hdmf-dev/hdmf/issues/532#issuecomment-788386414, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAGOEEQ4GXHJDRF4MITBJJ3TBQOE3ANCNFSM4YNJSHQQ .