Skip to content

Commit

Permalink
Fixed regex pattern issue in loadCTD.py
Browse files Browse the repository at this point in the history
Made the regex pattern a "raw" string.
  • Loading branch information
DnlRKorn authored Jul 25, 2024
1 parent 8d8b643 commit 90c6231
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion parsers/CTD/src/loadCTD.py
Original file line number Diff line number Diff line change
Expand Up @@ -533,7 +533,7 @@ def convert_predicates(predicate):
:return:
"""
# the capture regex
regex = '\/|\ |\^'
regex = r'\/|\ |\^'

# clean up the predicate
cleaned_predicate = re.sub(regex, '_', predicate)
Expand Down

0 comments on commit 90c6231

Please sign in to comment.