Skip to content

Commit

Permalink
Remove a couple pre-1.0 artifacts
Browse files Browse the repository at this point in the history
  • Loading branch information
ryan-kipawa committed Jan 13, 2025
1 parent bdd919e commit 8391e6b
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 11 deletions.
1 change: 0 additions & 1 deletion mikeio1d/result_network/result_location.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@ def _repr_html_(self) -> str:
@property
def res1d(self) -> Res1D:
"""The Res1D instance that this location belongs to."""
# TODO: Consider to remove this property for version 1.0.0
return self._creator.res1d

@property
Expand Down
1 change: 0 additions & 1 deletion mikeio1d/result_network/result_locations.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@ def _repr_html_(self) -> str:
@property
def res1d(self) -> Res1D:
"""The Res1D instance that these locations belong to."""
# TODO: Consider to remove this property for version 1.0.0
return self._creator.res1d

@property
Expand Down
9 changes: 0 additions & 9 deletions mikeio1d/result_network/result_structure.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,15 +74,6 @@ def res1d_reach(self) -> IRes1DReach:
"""DHI.Mike1D.ResultDataAccess.IRes1DReach corresponding to this result structure."""
return self._creator.reach

@property
def structure_id(self):
"""Get structure ID."""
# TODO: Remove this in 1.0.0
warn(
"Please use .id instead of .structure_id. This attribute will be removed in the future."
)
return self.id

@property
def id(self) -> str:
"""Structure ID."""
Expand Down

0 comments on commit 8391e6b

Please sign in to comment.