Skip to content

Commit da9e6fa

Browse files
authoredMar 9, 2022
Merge pull request #751 from jmmshn/patch_phonopy_fix
2 parents 4aac80f + 91a9145 commit da9e6fa

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed
 

‎atomate/vasp/analysis/phonopy.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ def get_phonopy_gibbs(
5353
)
5454

5555
# gibbs free energy and temperature
56-
max_t_index = phonopy_qha._qha._max_t_index
56+
max_t_index = phonopy_qha._qha._len
5757
G = phonopy_qha.get_gibbs_temperature()[:max_t_index]
5858
T = phonopy_qha._qha._temperatures[:max_t_index]
5959
return G, T
@@ -178,7 +178,7 @@ def get_phonopy_thermal_expansion(
178178
)
179179

180180
# thermal expansion coefficient and temperature
181-
max_t_index = phonopy_qha._qha._max_t_index
182-
alpha = phonopy_qha.get_thermal_expansion()[:max_t_index]
181+
max_t_index = phonopy_qha._qha._len
182+
alpha = phonopy_qha.get_thermal_expansion()[: max_t_index]
183183
T = phonopy_qha._qha._temperatures[:max_t_index]
184184
return alpha, T

‎requirements.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
custodian==2022.1.17
22
FireWorks==1.9.7
3-
maggma==0.39.0
3+
maggma==0.44.0
44
monty==2021.6.10
55
networkx==2.5.1
66
numpy

‎setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
install_requires=[
2626
"custodian>=2019.8.24",
2727
"FireWorks>=1.4.0",
28-
"maggma>=0.39.0",
28+
"maggma>=0.44.0",
2929
"monty>=2.0.6",
3030
"networkx",
3131
"numpy",

0 commit comments

Comments
 (0)
Please sign in to comment.