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

incorrect interpretation of value=0 #314

Closed
JuliaSprenger opened this issue Jan 3, 2019 · 0 comments
Closed

incorrect interpretation of value=0 #314

JuliaSprenger opened this issue Jan 3, 2019 · 0 comments
Assignees

Comments

@JuliaSprenger
Copy link
Contributor

When creating a Property using odML version 1.4.2. value=0 is interpreted as an empty value.
Eg. this example code prints an empty list:

import odml
p = odml.Property('myprop', value=0)
print(p.value)
@fschrader1992 fschrader1992 self-assigned this Jun 18, 2019
fschrader1992 added a commit to fschrader1992/python-odml that referenced this issue Jun 18, 2019
Allow value = 0 set as int, not as empty value.
Fixing issue G-Node#314.
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

3 participants