Skip to content

Commit

Permalink
using elecdoc
Browse files Browse the repository at this point in the history
  • Loading branch information
jmmshn committed Feb 4, 2021
1 parent 8a8a2ec commit cbb5ae2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion emmet-builders/emmet/builders/materials/electrodes.py
Expand Up @@ -394,12 +394,13 @@ def unary_function(self, item):
ient.data["volume"] = mat_structures[ient.entry_id].volume
ient.data["decomposition_energy"] = decomp_energies[ient.entry_id]

return InsertionElectrodeDoc.from_entries(
ie = InsertionElectrodeDoc.from_entries(
grouped_entries=entries,
working_ion_entry=working_ion_entry,
task_id=item["task_id"],
host_structure=host_structure,
)
return ie.dict()
# failed = False
# try:
# ie = InsertionElectrode.from_entries(entries, working_ion_entry)
Expand Down

0 comments on commit cbb5ae2

Please sign in to comment.