Skip to content

Commit

Permalink
adding optional atom_index to primitives
Browse files Browse the repository at this point in the history
  • Loading branch information
hatemhelal committed Oct 1, 2024
1 parent f3ad64b commit 48379e7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions mess/primitive.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ class Primitive(eqx.Module):
alpha: float = eqx.field(converter=asfparray, default=1.0)
lmn: Int3 = eqx.field(converter=asintarray, default=(0, 0, 0))
norm: Optional[float] = None
atom_index: Optional[int] = None

def __post_init__(self):
if self.norm is None:
Expand Down

0 comments on commit 48379e7

Please sign in to comment.