Skip to content

sortKeys as TRUE rather than FALSE as a default for dlg #3279

@HeJasonL

Description

@HeJasonL

If I am building a task completely in builder view, I am currently unable to sort the 'Experiment Info' in the order that I've placed them in. PsychoPy currently automatically sorts them in alphabetical and/or numeric order, which seemed odd as a default.

I had a look and the code:

"dlg = gui.DlgFromDict(dictionary=expInfo, sort_keys=False, title=expName)"

which has sort_keys=False as a default is right, but doesn't work because sort_keys should now be sortKeys. When run with the code:

"dlg = gui.DlgFromDict(dictionary=expInfo, sortKeys=False, title=expName)"

The Experiment info is no longer sorted in alphabetical and/or numeric order.

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions