Skip to content

Commit

Permalink
remove old mfrecord value getter/setter
Browse files Browse the repository at this point in the history
  • Loading branch information
wpbonelli committed Jul 24, 2024
1 parent fa3038e commit 6cb0009
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions flopy4/compound.py
Original file line number Diff line number Diff line change
Expand Up @@ -118,16 +118,6 @@ def __init__(
default_value=default_value,
)

@property
def value(self) -> List[Any]:
return [s.value for s in self.data.values()]

@value.setter
def value(self, value: Iterable[Any]):
assert len(value) == len(self.data)
for i in range(len(self.data)):
self.data[i].value = value[i]

@classmethod
def load(cls, f, params, **kwargs) -> "MFRecord":
line = strip(f.readline()).lower()
Expand Down

0 comments on commit 6cb0009

Please sign in to comment.