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

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

Open
stevenhua0320 opened this issue Sep 4, 2024 · 1 comment
Open

Comments

@stevenhua0320
Copy link
Contributor

No description provided.

@stevenhua0320
Copy link
Contributor Author

stevenhua0320 commented Sep 4, 2024

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
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant