Skip to content

Fix GSASIIscriptable via update to profile_functions_class.py #189

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

Merged
merged 1 commit into from
Jun 15, 2025

Conversation

RJCD-Diamond
Copy link
Contributor

profile_functions_class.py still was using defunct xrange in one place. This is preventing "import GSASIIscriptable as G2sc" from working

Fixed and replaced xrange with range in NIST_profile/profile_functions_class.py

Fixed and replaced xrange with range in NIST_profile/profile_functions_class.py
@RJCD-Diamond RJCD-Diamond changed the title Update profile_functions_class.py Fix GSASIIscriptable via update to profile_functions_class.py Jun 12, 2025
Copy link
Collaborator

@briantoby briantoby left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is vendored code, so I am not sure how this error survived, but this change certainly makes sense; let me see if I can get a response from the author at NIST

@briantoby briantoby merged commit 9e27d78 into AdvancedPhotonSource:main Jun 15, 2025
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

Successfully merging this pull request may close these issues.

2 participants