Skip to content

Commit 252e682

Browse files
committed
remove deprecated from molecules search
1 parent 5828eeb commit 252e682

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

mp_api/client/routes/molecules/summary.py

+4-4
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ def search(
1919
spin_multiplicity: int | None = None,
2020
nelements: tuple[int, int] | None = None,
2121
chemsys: str | list[str] | None = None,
22-
deprecated: bool | None = None,
22+
# deprecated: bool | None = None,
2323
elements: list[str] | None = None,
2424
exclude_elements: list[str] | None = None,
2525
formula: str | list[str] | None = None,
@@ -52,7 +52,7 @@ def search(
5252
# ["wB97X-V/def2-TZVPPD/SMD(VACUUM)", "wB97M-V/def2-QZVPPD/SMD(SOLVENT=WATER)"])
5353
chemsys (str, List[str]): A chemical system, list of chemical systems
5454
(e.g., Li-C-O, [C-O-H-N, Li-N]).
55-
deprecated (bool): Whether the material is tagged as deprecated.
55+
#deprecated (bool): Whether the material is tagged as deprecated.
5656
elements (List[str]): A list of elements.
5757
exclude_elements (List(str)): List of elements to exclude.
5858
formula (str, List[str]): An alphabetical formula or list of formulas
@@ -98,8 +98,8 @@ def search(
9898
if spin_multiplicity:
9999
query_params.update({"spin_multiplicity": spin_multiplicity})
100100

101-
if deprecated is not None:
102-
query_params.update({"deprecated": deprecated})
101+
# if deprecated is not None:
102+
# query_params.update({"deprecated": deprecated})
103103

104104
if formula:
105105
if isinstance(formula, str):

0 commit comments

Comments
 (0)