Skip to content

Commit

Permalink
Merge pull request #42 from gerlero/dictionaries
Browse files Browse the repository at this point in the history
Fix dictionaries
  • Loading branch information
gerlero authored Mar 27, 2024
2 parents 0939c55 + ca8bbfd commit 21fa063
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions foamlib/_dictionaries.py
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,9 @@ def __getitem__(
)
return ret

def __repr__(self) -> str:
return "FoamFieldFile.BoundariesDictionary"

class BoundaryDictionary(_FoamDictionary):
"""An OpenFOAM dictionary representing a boundary condition as a mutable mapping."""

Expand Down Expand Up @@ -278,9 +281,6 @@ def __setitem__(self, key: str, value: Any) -> None:
else:
self._setitem(key, value)

def __repr__(self) -> str:
return "FoamFieldFile.BoundariesDictionary"

@property
def dimensions(self) -> FoamFile.DimensionSet:
"""
Expand Down

0 comments on commit 21fa063

Please sign in to comment.