Adding in commenting submissions and barcode creation.

This commit is contained in:
Landon Wark
2023-05-12 14:26:18 -05:00
parent 8a95e3a4c5
commit 903f403672
12 changed files with 231 additions and 64 deletions

View File

@@ -195,7 +195,7 @@ class RSLNamer(object):
return
logger.debug(f"Attempting match of {in_str}")
regex = re.compile(r"""
(?P<wastewater>RSL(?:-|_)?WW(?:-|_)?20\d{2}-?\d{2}-?\d{2}(?:(?:_|-)\d(?!\d))?)|
(?P<wastewater>RSL(?:-|_)?WW(?:-|_)?20\d{2}-?\d{2}-?\d{2}(?:(?:_|-)R?\d(?!\d))?)|
(?P<bacterial_culture>RSL-?\d{2}-?\d{4})
""", flags = re.IGNORECASE | re.VERBOSE)
m = regex.search(in_str)