We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3249fee commit fa787ddCopy full SHA for fa787dd
emmet-core/emmet/core/phonon.py
@@ -344,7 +344,9 @@ def migrate_fields(cls, config: Any) -> Any:
344
if config.get("last_updated"):
345
config["last_updated"] = convert_datetime(cls, config["last_updated"])
346
347
- if (ph_bs := config.get("phonon_bandstucture")) and not config.get("structure"):
+ if (ph_bs := config.get("phonon_bandstructure")) and not config.get(
348
+ "structure"
349
+ ):
350
if isinstance(ph_bs, PhononBandStructureSymmLine | PhononBS):
351
config["structure"] = ph_bs.structure
352
else:
0 commit comments