Skip to content

Commit

Permalink
fix ruff
Browse files Browse the repository at this point in the history
  • Loading branch information
angusmcb committed Jan 17, 2025
1 parent 583f01d commit 845c898
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wntrqgis/interface.py
Original file line number Diff line number Diff line change
Expand Up @@ -530,7 +530,7 @@ def _process_results_layer(self, layer: ResultLayer, results_dfs: dict[str, pd.D
return pd.DataFrame(output_attributes, index=output_attributes[field.value].index)

def _convert_result_df(self, df: pd.DataFrame, field: ResultField) -> pd.DataFrame:
"""Convert a results dataframe, taking special care with 'headloss' which for pipes doubles as 'unit headloss'"""
"Convert a results dataframe, taking special care with 'headloss' which for pipes doubles as 'unit headloss'"
converted_df: pd.DataFrame
if field is ResultField.HEADLOSS:
converted_df = df
Expand Down

0 comments on commit 845c898

Please sign in to comment.