@@ -42,16 +42,15 @@ class PhononQHADoc(StructureMetadata, extra="allow"): # type: ignore[call-arg]
4242 )
4343 volume_temperature : Optional [list [float ]] = Field (
4444 None ,
45- description = "Volumes in Angstrom^3 at temperatures." " Shape: (temperatures, )" ,
45+ description = "Volumes in Angstrom^3 at temperatures.Shape: (temperatures, )" ,
4646 )
4747 gibbs_temperature : Optional [list [float ]] = Field (
4848 None ,
49- description = "Gibbs free energies in eV at temperatures."
50- "Shape: (temperatures, )" ,
49+ description = "Gibbs free energies in eV at temperatures.Shape: (temperatures, )" ,
5150 )
5251 bulk_modulus_temperature : Optional [list [float ]] = Field (
5352 None ,
54- description = "Bulk modulus in GPa at temperature." " Shape: (temperatures, )" ,
53+ description = "Bulk modulus in GPa at temperature.Shape: (temperatures, )" ,
5554 )
5655 heat_capacity_p_numerical : Optional [list [float ]] = Field (
5756 None ,
@@ -60,7 +59,7 @@ class PhononQHADoc(StructureMetadata, extra="allow"): # type: ignore[call-arg]
6059 )
6160 gruneisen_temperature : Optional [list [float ]] = Field (
6261 None ,
63- description = "Gruneisen parameters at temperatures." " Shape: (temperatures, )" ,
62+ description = "Gruneisen parameters at temperatures.Shape: (temperatures, )" ,
6463 )
6564 pressure : Optional [float ] = Field (
6665 None , description = "Pressure in GPA at which Gibb's energy was computed"
@@ -147,33 +146,33 @@ def from_phonon_runs(
147146 # create some plots here
148147 # add kwargs to change the names and file types
149148 qha .plot_helmholtz_volume ().savefig (
150- f"{ kwargs .get ('helmholtz_volume_filename' ,'helmholtz_volume' )} "
151- f".{ kwargs .get ('plot_type' ,'pdf' )} "
149+ f"{ kwargs .get ('helmholtz_volume_filename' , 'helmholtz_volume' )} "
150+ f".{ kwargs .get ('plot_type' , 'pdf' )} "
152151 )
153152 qha .plot_volume_temperature ().savefig (
154- f"{ kwargs .get ('volume_temperature_plot' ,'volume_temperature' )} "
155- f".{ kwargs .get ('plot_type' ,'pdf' )} "
153+ f"{ kwargs .get ('volume_temperature_plot' , 'volume_temperature' )} "
154+ f".{ kwargs .get ('plot_type' , 'pdf' )} "
156155 )
157156 qha .plot_thermal_expansion ().savefig (
158- f"{ kwargs .get ('thermal_expansion_plot' ,'thermal_expansion' )} "
159- f".{ kwargs .get ('plot_type' ,'pdf' )} "
157+ f"{ kwargs .get ('thermal_expansion_plot' , 'thermal_expansion' )} "
158+ f".{ kwargs .get ('plot_type' , 'pdf' )} "
160159 )
161160 qha .plot_gibbs_temperature ().savefig (
162161 f"{ kwargs .get ('gibbs_temperature_plot' , 'gibbs_temperature' )} "
163- f".{ kwargs .get ('plot_type' ,'pdf' )} "
162+ f".{ kwargs .get ('plot_type' , 'pdf' )} "
164163 )
165164 qha .plot_bulk_modulus_temperature ().savefig (
166165 f"{ kwargs .get ('bulk_modulus_plot' , 'bulk_modulus_temperature' )} "
167- f".{ kwargs .get ('plot_type' ,'pdf' )} "
166+ f".{ kwargs .get ('plot_type' , 'pdf' )} "
168167 )
169168 qha .plot_heat_capacity_P_numerical ().savefig (
170169 f"{ kwargs .get ('heat_capacity_plot' , 'heat_capacity_P_numerical' )} "
171- f".{ kwargs .get ('plot_type' ,'pdf' )} "
170+ f".{ kwargs .get ('plot_type' , 'pdf' )} "
172171 )
173172 # qha.plot_heat_capacity_P_polyfit().savefig("heat_capacity_P_polyfit.eps")
174173 qha .plot_gruneisen_temperature ().savefig (
175174 f"{ kwargs .get ('gruneisen_temperature_plot' , 'gruneisen_temperature' )} "
176- f".{ kwargs .get ('plot_type' ,'pdf' )} "
175+ f".{ kwargs .get ('plot_type' , 'pdf' )} "
177176 )
178177
179178 qha .write_helmholtz_volume (
0 commit comments