Skip to content

Commit

Permalink
Merge branch 'main' into eia860-2023-final
Browse files Browse the repository at this point in the history
  • Loading branch information
zaneselvans committed Sep 26, 2024
2 parents f1e907c + 9b086b4 commit e95305e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pudl/transform/ferc714.py
Original file line number Diff line number Diff line change
Expand Up @@ -1158,7 +1158,7 @@ def average_duplicate_pks_csv(df):
& (df["forecast_year"] == 2014)
& (df["net_demand_forecast_mwh"] == 0)
)
if (len_dupes := len(df[error_mask])) >= 1:
if (len_dupes := len(df[error_mask])) > 1:
raise AssertionError(
f"We found {len_dupes} duplicate errors, but expected 1 or less:\n{df[error_mask]}"
)
Expand Down

0 comments on commit e95305e

Please sign in to comment.