CSM及TET,CS
This commit is contained in:
0
py/utils/__init__.py
Normal file
0
py/utils/__init__.py
Normal file
@@ -52,7 +52,7 @@ def non_elements(struct, sp='Li'):
|
||||
sp : the mobile specie
|
||||
returns a new structure containing only the framework anions (O, S, N).
|
||||
"""
|
||||
anions_to_keep = {"O", "S", "N"}
|
||||
anions_to_keep = {"O", "S", "N","Br","Cl"}
|
||||
stripped = struct.copy()
|
||||
species_to_remove = [el.symbol for el in stripped.composition.elements
|
||||
if el.symbol not in anions_to_keep]
|
||||
|
||||
Reference in New Issue
Block a user