Skip to content

Python 3 compatibility with dictionary views vs lists. #60

@rjkoch

Description

@rjkoch

So, if I try to run a co-refinement, where I have more than one fit contribution, generally the recipe building goes fine.

But, I if call something like FitResults(recipe).printResults() I get:

...
AttributeError: 'odict_keys' object has no attribute 'sort'

Something similar occurs if I call recipe.setWeights

I think this is because dictionary keys/values etc are being treated as lists (python 2)

I'll see if I can fix it.

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