Skip to content

Commit

Permalink
Bump pymatgen and keep types
Browse files Browse the repository at this point in the history
  • Loading branch information
PROA200 committed Nov 29, 2023
1 parent 4e3ad4a commit c78617d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion matcalc/eos.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ def calc(self, structure: Structure) -> dict:
bm = BirchMurnaghan(volumes=volumes, energies=energies)
bm.fit()

volumes, energies = zip(*sorted(zip(volumes, energies), key=lambda i: i[0]))
volumes, energies = map(list, zip(*sorted(zip(volumes, energies), key=lambda i: i[0])))

return {
"eos": {"volumes": volumes, "energies": energies},
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
pymatgen==2023.7.20
pymatgen==2023.11.12
ase==3.22.1
joblib==1.3.1
phonopy==2.20.0
Expand Down

0 comments on commit c78617d

Please sign in to comment.