Skip to content

Commit

Permalink
Period
Browse files Browse the repository at this point in the history
  • Loading branch information
ecomodeller committed Nov 22, 2024
1 parent 9dc24b5 commit a50a282
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions mikeio/generic.py
Original file line number Diff line number Diff line change
Expand Up @@ -388,8 +388,7 @@ def sum(
infilename_b: str | pathlib.Path,
outfilename: str | pathlib.Path,
) -> None:
"""Sum two dfs files (a+b)"""

"""Sum two dfs files (a+b)."""
# deprecated
warnings.warn(FutureWarning("This function is deprecated. Use add instead."))
_process_dfs_files(infilename_a, infilename_b, outfilename, operator.add)
Expand All @@ -400,7 +399,7 @@ def add(
infilename_b: str | pathlib.Path,
outfilename: str | pathlib.Path,
) -> None:
"""Sum two dfs files (a+b)"""
"""Add two dfs files (a+b)."""
_process_dfs_files(infilename_a, infilename_b, outfilename, operator.add)


Expand All @@ -409,7 +408,7 @@ def diff(
infilename_b: str | pathlib.Path,
outfilename: str | pathlib.Path,
) -> None:
"""Calculate difference between two dfs files (a-b)"""
"""Calculate difference between two dfs files (a-b)."""
_process_dfs_files(infilename_a, infilename_b, outfilename, operator.sub)


Expand Down

0 comments on commit a50a282

Please sign in to comment.