Skip to content

Commit 5794c3d

Browse files
committed
connect to new phonon collection
1 parent 194d3b8 commit 5794c3d

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

emmet-api/material_resources.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,10 @@
9090
)
9191

9292
phonon_bs_store = MongoURIStore(
93-
uri=db_uri, database="mp_core", key="material_id", collection_name="pmg_ph_bs"
93+
uri=db_uri,
94+
database=f"mp_core_{db_suffix}",
95+
key="material_id",
96+
collection_name="phonon",
9497
)
9598

9699
eos_store = MongoURIStore(

0 commit comments

Comments
 (0)