Skip to content

Commit

Permalink
Fix deprecated tasks in deprecated materials (#817)
Browse files Browse the repository at this point in the history
* Fix deprecated tasks in dep materials

* Linting
  • Loading branch information
munrojm committed Aug 29, 2023
1 parent b018680 commit 74b37b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion emmet-builders/emmet/builders/vasp/materials.py
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ def process_item(self, items: List[Dict]) -> List[Dict]:
)
except Exception as e:
failed_ids = list({t_.task_id for t_ in group})
doc = MaterialsDoc.construct_deprecated_material(tasks)
doc = MaterialsDoc.construct_deprecated_material(group)
doc.warnings.append(str(e))
materials.append(doc)
self.logger.warn(
Expand Down

0 comments on commit 74b37b1

Please sign in to comment.