Skip to content

fix dict mapping could not sort in basefunction (py2 legacy issue) #104

Closed

Description

@stevenhua0320
No description provided.

Activity

  1. stevenhua0320 commented on Sep 4, 2024

    @stevenhua0320
    ContributorAuthor

    vals = self.parameterdict.values()
    vals.sort()
    if vals != range(self.npars):
    need to fix the dict could not sort issues

    The right output in the test should be
    function='GaussianOverR'
    module='diffpy.srmise.peaks.gaussianoverr'
    base=None
    maxwidth=0.8

    <class 'diffpy.srmise.peaks.terminationripples.TerminationRipples'>

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions