Skip to content

Commit

Permalink
chore: arbitrary types allowed
Browse files Browse the repository at this point in the history
  • Loading branch information
VsevolodX committed Sep 17, 2024
1 parent 4079d8a commit 736be41
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/py/mat3ra/made/tools/calculate/calculators.py
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,9 @@ class FixFilmRigidXY(BaseModel):
Created following https://wiki.fysik.dtu.dk/ase/ase/constraints.html#making-your-own-constraint-class
"""

class Config:
arbitrary_types_allowed = True

film_indices: List[int] = []
initial_positions: Optional[np.ndarray] = None
reference_center: Optional[np.ndarray] = None
Expand Down

0 comments on commit 736be41

Please sign in to comment.