Skip to content

Commit

Permalink
fix: typo get timesteps docstring (#562)
Browse files Browse the repository at this point in the history
  • Loading branch information
frodehk committed Aug 7, 2024
1 parent c4b1a2d commit 9b31d60
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libecalc/common/time_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ def get_timestep_indices(self, timesteps: List[datetime]) -> Tuple[int, int]:
def get_timesteps(self, timesteps: List[datetime]) -> List[datetime]:
"""
Get all given timesteps that are within this period.
Returns empty list if no timesteps are outside period.
Returns empty list if all timesteps are outside period.
"""
timesteps = [timestep for timestep in timesteps if self.__contains__(timestep)]

Expand Down

0 comments on commit 9b31d60

Please sign in to comment.