Skip to content

Commit

Permalink
flake8 unhappy with comment
Browse files Browse the repository at this point in the history
  • Loading branch information
LydiaMennesHealth committed Jan 18, 2024
1 parent ddd4b4d commit 23103c3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion docdeid/process/annotator.py
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,9 @@ def __init__(
self.pre_match_words: Optional[set[str]] = None
self.matching_pipeline: Optional[list[StringModifier]] = None

# in case of a provided matching pipeline this goes wrong because it simply gets overwritten no warning nada
# in case of a provided matching pipeline this goes wrong
# because it simply gets overwritten no warning nada
# (will fix this in next PR)
if pre_match_words is not None:
self.pre_match_words = set(pre_match_words)
self.matching_pipeline = [docdeid.str.LowercaseString()]
Expand Down

0 comments on commit 23103c3

Please sign in to comment.