You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Breaking: Return True for Element in Composition if Species.symbol matches Element (#3184)
* refactor get_el_sp()
* fix Composition.__contains__() by handling Species and DummySpecies correctly
* test all edge cases of Composition.__contains__
- Species in Composition
- Element in Composition with Species
- str in Composition with Element
- int (atomic number) in Composition
- float in Composition
- DummySpecies in Composition
* revert accidental removal of if Element("O") in comp:
* fix test_process_entry_with_oxidation_state
> assert len(processed_entry.energy_adjustments) == 1
E AssertionError: assert 2 == 1
* fix test_get_supercell_size()
expected wrong error msg
* fix expected err msg
0 commit comments