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

[Property] Cannot append value of DType 'person' #318

Closed
mpsonntag opened this issue Apr 1, 2019 · 0 comments · Fixed by #321
Closed

[Property] Cannot append value of DType 'person' #318

mpsonntag opened this issue Apr 1, 2019 · 0 comments · Fixed by #321
Assignees
Labels

Comments

@mpsonntag
Copy link
Contributor

Trying to append a value to a Property with DTpype.person the following error occurs:

prop = odml.Property(name="prop", value=["A Abraham", "B Barnes", "C Clark"], dtype=odml.DType.person
 prop.append("D Dickins")

ValueError: odml.Property.append: passed value data type does not match dtype!
@mpsonntag mpsonntag added the bug label Apr 1, 2019
@fschrader1992 fschrader1992 self-assigned this Jun 18, 2019
fschrader1992 added a commit to fschrader1992/python-odml that referenced this issue Jun 18, 2019
Changing dtype confirmation, adding exceptions for dtypes possessing
string type values to allow appending with new values.

Fixing issue G-Node#318.
fschrader1992 added a commit to fschrader1992/python-odml that referenced this issue Jun 18, 2019
Changing dtype confirmation, adding exceptions for dtypes possessing
string type values to allow expending with new values.

Related to issue G-Node#318.
fschrader1992 added a commit to fschrader1992/python-odml that referenced this issue Jun 18, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants