Skip to content

Commit

Permalink
Merge branch 'rl-cleaning-upates' of https://github.com/catalyst-coop…
Browse files Browse the repository at this point in the history
…erative/pudl into rl-cleaning-upates
  • Loading branch information
katie-lamb committed Dec 2, 2024
2 parents 5dda49d + a198dfe commit 7e477f5
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/pudl/analysis/record_linkage/name_cleaner.py
Original file line number Diff line number Diff line change
Expand Up @@ -135,9 +135,11 @@ def _validate_cleaning_rules(self) -> Self:
]
invalid_rules = set(self.cleaning_rules_list) - set(cleaning_rules_list_valid)
if len(invalid_rules) > 0:
logger.warning(f"The following cleaning rules have not been implemented \
logger.warning(
f"The following cleaning rules have not been implemented \
in the CompanyNameCleaner class and will have no effect: \
{invalid_rules}")
{invalid_rules}"
)
if ("remove_all_punctuation_except_dot" in cleaning_rules_list_valid) and (
"remove_all_punctuation" in cleaning_rules_list_valid
):
Expand Down

0 comments on commit 7e477f5

Please sign in to comment.