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

Propagate site labels in SymmetrizedStructure() #3423

Merged
merged 1 commit into from
Oct 25, 2023

Conversation

stefsmeets
Copy link
Contributor

Hi all, this is a small PR that makes sure labels are passed when a SymmetrizedStructure is initialized. This follows-up on earlier work in #3183

Summary

Major changes:

  • fix 1: Propagate site labels through SymmetrizedStructure()

Checklist

  • Google format doc strings added. Check with ruff.
  • Type annotations included. Check with mypy.
  • Tests added for new features/fixes.
  • If applicable, new classes/functions/modules have duecredit @due.dcite decorators to reference relevant papers by DOI (example)

Tip: Install pre-commit hooks to auto-check types and linting before every commit:

pip install -U pre-commit
pre-commit install

@janosh janosh added enhancement A new feature or improvement to an existing one symmetry Space groups and the like labels Oct 25, 2023
Copy link
Member

@janosh janosh left a comment

Choose a reason for hiding this comment

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

Thanks @stefsmeets! 👍

@janosh janosh enabled auto-merge (squash) October 25, 2023 13:36
@janosh janosh merged commit b4aedf0 into materialsproject:master Oct 25, 2023
22 checks passed
@stefsmeets stefsmeets deleted the symstruct_labels branch October 25, 2023 14:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement A new feature or improvement to an existing one symmetry Space groups and the like
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants