From 90c62310243788113871f1876e988a4fb5101389 Mon Sep 17 00:00:00 2001 From: DnlRKorn <6885702+DnlRKorn@users.noreply.github.com> Date: Thu, 25 Jul 2024 13:57:52 -0400 Subject: [PATCH] Fixed regex pattern issue in loadCTD.py Made the regex pattern a "raw" string. --- parsers/CTD/src/loadCTD.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/parsers/CTD/src/loadCTD.py b/parsers/CTD/src/loadCTD.py index 608f561d..9bd9e75c 100644 --- a/parsers/CTD/src/loadCTD.py +++ b/parsers/CTD/src/loadCTD.py @@ -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)