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

Sorting of odml properties not always wanted #103

Open
morales-gregorio opened this issue Jun 12, 2019 · 0 comments
Open

Sorting of odml properties not always wanted #103

morales-gregorio opened this issue Jun 12, 2019 · 0 comments

Comments

@morales-gregorio
Copy link

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.

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

No branches or pull requests

2 participants