From 252ec480aa699c0c6baa279ce9bc49c003e5bba6 Mon Sep 17 00:00:00 2001 From: munrojm Date: Fri, 1 Mar 2024 16:01:44 -0800 Subject: [PATCH 1/2] Pin pymatgen --- emmet-api/setup.py | 1 + 1 file changed, 1 insertion(+) diff --git a/emmet-api/setup.py b/emmet-api/setup.py index 2c2bf205ee..aaf95ebe95 100644 --- a/emmet-api/setup.py +++ b/emmet-api/setup.py @@ -22,6 +22,7 @@ "shapely", "asgi-logger", "pymatgen-analysis-alloys>=0.0.3", + "pymatgen<=2023.12.18", ], extras_require={ "test": [ From 6a35b09f2f68ecbc67a174065b38a0580cfde047 Mon Sep 17 00:00:00 2001 From: munrojm Date: Fri, 1 Mar 2024 16:06:06 -0800 Subject: [PATCH 2/2] Remove D from anonymous element list --- emmet-api/emmet/api/routes/materials/materials/utils.py | 2 +- emmet-api/setup.py | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/emmet-api/emmet/api/routes/materials/materials/utils.py b/emmet-api/emmet/api/routes/materials/materials/utils.py index 04a9d36031..a06fc396ea 100644 --- a/emmet-api/emmet/api/routes/materials/materials/utils.py +++ b/emmet-api/emmet/api/routes/materials/materials/utils.py @@ -14,7 +14,7 @@ def formula_to_criteria(formulas: str) -> Dict: Returns: Mongo style search criteria for this formula """ - dummies = "ADEGJLMQRXZ" + dummies = "AEGJLMQRXZ" formula_list = [formula.strip() for formula in formulas.split(",")] diff --git a/emmet-api/setup.py b/emmet-api/setup.py index aaf95ebe95..2c2bf205ee 100644 --- a/emmet-api/setup.py +++ b/emmet-api/setup.py @@ -22,7 +22,6 @@ "shapely", "asgi-logger", "pymatgen-analysis-alloys>=0.0.3", - "pymatgen<=2023.12.18", ], extras_require={ "test": [