Skip to content

Commit

Permalink
style: replaced code fragment
Browse files Browse the repository at this point in the history
  • Loading branch information
MarkusPic committed Oct 21, 2024
1 parent 4a29b07 commit 0461882
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ehyd_tools/synthetic_rainseries.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ def get_series(self, return_period, duration, interval=5, kind=2):
r = pd.Series(data=[0] + r.tolist(), index=[0]+r.index.values.tolist())

# ---------------
if 0:
if _ := 0:
_res = pd.DataFrame(index=filtered_series.index)
_res['basis'] = return_period_series
_res['gefüllt'] = filtered_series
Expand Down
2 changes: 1 addition & 1 deletion ehyd_tools/synthetic_rainseries_v0.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ def euler_model_rain(idf_table, return_period, duration, interval=5, occurrence_
r = pd.concat([r, pd.Series({0: 0})]).sort_index()

# ---------------
if 0:
if _ := 0:
_res = pd.DataFrame(index=filtered_series.index)
_res['basis'] = return_period_series
_res['gefüllt'] = filtered_series
Expand Down

0 comments on commit 0461882

Please sign in to comment.