Skip to content

Commit

Permalink
Fix phonon prechunking (#681)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jason Munro authored Mar 25, 2023
1 parent 682fff8 commit ba26f99
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion emmet-builders/emmet/builders/abinit/phonon.py
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ def prechunk(self, number_splits: int): # pragma: no cover

for mpid_chunk in grouper(mats, N):

yield {"query": {self.phonon.key: {"$in": list(mpid_chunk)}}}
yield {"query": {self.phonon_materials.key: {"$in": list(mpid_chunk)}}}

def get_items(self) -> Iterator[Dict]:
"""
Expand Down

0 comments on commit ba26f99

Please sign in to comment.