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

Define arithmetic ops __add__ __sub__ __mul__ __neg__ __eq__ for PhononDos with tests #3511

Merged
merged 4 commits into from
Dec 13, 2023

Conversation

janosh
Copy link
Member

@janosh janosh commented Dec 13, 2023

b98e12f PhononBSPlotter.plot_compare() add keyword on_incompatible: Literal["raise", "warn", "ignore"] = "raise"
3145126 add return type to PhononDos method doc strings
6072af8 define arithmetic dunder methods for PhononDos __add__ __sub__ __mul__ __neg__ __eq__
47addac test PhononDos arithmetic ops and equality in

@janosh janosh added enhancement A new feature or improvement to an existing one tests Issues with or changes to the pymatgen test suite phonon Lattice vibrations labels Dec 13, 2023
@janosh janosh enabled auto-merge (squash) December 13, 2023 04:01
@janosh janosh merged commit ebcafbe into master Dec 13, 2023
22 checks passed
@janosh janosh deleted the ph-dos-arithmetic-ops branch December 13, 2023 04:12
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 phonon Lattice vibrations tests Issues with or changes to the pymatgen test suite
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant