Skip to content

Commit fa787dd

Browse files
typo
1 parent 3249fee commit fa787dd

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

emmet-core/emmet/core/phonon.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -344,7 +344,9 @@ def migrate_fields(cls, config: Any) -> Any:
344344
if config.get("last_updated"):
345345
config["last_updated"] = convert_datetime(cls, config["last_updated"])
346346

347-
if (ph_bs := config.get("phonon_bandstucture")) and not config.get("structure"):
347+
if (ph_bs := config.get("phonon_bandstructure")) and not config.get(
348+
"structure"
349+
):
348350
if isinstance(ph_bs, PhononBandStructureSymmLine | PhononBS):
349351
config["structure"] = ph_bs.structure
350352
else:

0 commit comments

Comments
 (0)