Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to represent NULL in datasets of SONATA? #122

Open
asanin-epfl opened this issue Jul 16, 2020 · 0 comments
Open

How to represent NULL in datasets of SONATA? #122

asanin-epfl opened this issue Jul 16, 2020 · 0 comments

Comments

@asanin-epfl
Copy link
Contributor

From the spec:

model_template - Used to reference a template or cla.... When there is no applicable model template for a given model type (i.e. model_type=virtual) it is assigned a value of NULL.

I can't find it explicitly in the spec of HDF5 but if you try to save None to an HDF5 dataset, it will be saved as an empty string. My question is there an agreement on how to represent NULL values in SONATA?

@asanin-epfl asanin-epfl changed the title How to representat NULL in datasets of SONATA? How to represent NULL in datasets of SONATA? Jul 16, 2020
mgeplf pushed a commit to BlueBrain/voxcell that referenced this issue Mar 1, 2022
Because HDF5 does not have a value for NULL, we can't save such values.
Upon saving None is saved as '' which is not correct. See
AllenInstitute/sonata#122 for discussion.

Change-Id: Ib7ab8484d465727d74d0a5f323956374ad8e19b2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant