Skip to content

Sorting of odml properties not always wanted #103

Description

@morales-gregorio

Sorting is enforced in the generation of an odml document, but I would like to keep the order that I wrote in my original xls file.

I would suggest adding a sorting option to the

odml_table.load_from_xls_table(self, load_from)

function. such that:

odml_table.load_from_xls_table(self, load_from, sort_odml=False):
    ...
    if sort_odml:
        self._odmldict = self._sort_odmldict(self._odmldict)

The same problem arises when using a csv file as a source, the same option could be added to both functions.

I do not know what problems this might cause to the gui.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions