Skip to content
New issue

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

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

Already on GitHub? # to your account

[Property] Exception on x-tuple Property extend or append #364

Closed
mpsonntag opened this issue Mar 10, 2020 · 0 comments · Fixed by #372
Closed

[Property] Exception on x-tuple Property extend or append #364

mpsonntag opened this issue Mar 10, 2020 · 0 comments · Fixed by #372
Assignees
Labels

Comments

@mpsonntag
Copy link
Contributor

When trying to append or extend an x-tuple Property value, a ValueError occurs.

e.g.

prop = odml.Property(name="tuple-test")
prop.dtype = "3-tuple"
prop.values = "(7; 8; 9)"
prop.values = ["(1; 2; 3)", "(4; 5; 6)"]       # reassignment works
prop.append("(7; 8; 9)")                          # append fails
prop.extend(["(7; 8; 9)", "(10; 11; 12)"])  # extend fails
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants