Skip to content

Commit e9a03bd

Browse files
committed
fix and update schema
1 parent 3b8836e commit e9a03bd

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/w90io/_schema.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ class Atom(pydantic.BaseModel):
3030

3131
class Atoms(pydantic.BaseModel):
3232
units: typing.Optional[str]
33-
atoms: typing.List[Atoms]
33+
atoms: typing.List[Atom]
3434

3535

3636
class Projections(pydantic.BaseModel):
@@ -51,7 +51,8 @@ class WIN(pydantic.BaseModel):
5151
parameters: dict
5252
blocks: dict
5353
unit_cell_cart: typing.Optional[UnitCell]
54-
# atoms_frac: Atoms
54+
atoms_frac: typing.Optional[Atoms]
55+
atoms_cart: typing.Optional[Atoms]
5556
projections: Projections
5657
kpoints: Kpoints
5758

0 commit comments

Comments
 (0)