Skip to content

Commit 2e4b6ae

Browse files
committed
Fix mypy error.
1 parent cb09b50 commit 2e4b6ae

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/matcalc/_phonon.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,5 +203,5 @@ def calc(self, structure: Structure | Atoms | dict[str, Any]) -> dict:
203203
if self.write_total_dos:
204204
phonon.auto_total_dos(write_dat=True, filename=self.write_total_dos)
205205
if self.write_phonon:
206-
phonon.save(filename=self.write_phonon)
206+
phonon.save(filename=self.write_phonon) # type: ignore[arg-type]
207207
return result | {"phonon": phonon, "thermal_properties": phonon.get_thermal_properties_dict()}

0 commit comments

Comments
 (0)