Skip to content

Commit

Permalink
Minor lint fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
shyuep committed Jun 12, 2024
1 parent 83421d3 commit 43b23a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pymatgen/core/structure.py
Original file line number Diff line number Diff line change
Expand Up @@ -2953,7 +2953,7 @@ def from_id(cls, id: str, source: StructureSources = "Materials Project", **kwar

mpr = MPRester(**kwargs)
return mpr.get_structure_by_material_id(id) # type: ignore
elif source == "COD":
if source == "COD":
from pymatgen.ext.cod import COD
cod = COD()
return cod.get_structure_by_id(id)
Expand Down

0 comments on commit 43b23a1

Please sign in to comment.