Skip to content

[dtypes] odML style tuples are not properly saved #353

Closed

Description

@mpsonntag

When saving a Document containing Properties with odML style tuples, only the very first tuple is saved, the other ones are discarded.

The following example will save only the value (1; 2) to file:

doc = odml.Document()
sec = doc.create_section(name="tuple_test")
prop = sec.create_property(name="tuple_test", dtype="2-tuple")
prop.values = ["(1; 2)", "(3; 4)", "(5; 6)"]
odml.save(doc, './test.odml')

Activity

  1. mpsonntag commented on Feb 11, 2020

    @mpsonntag
    ContributorAuthor

    Closing this issue also includes adding corresponding tests.

  2. added 2 commits that reference this issue on Feb 17, 2020
    1408f38
    8bec9a2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions