From 8a9723fbce37e810c1f344114c5ea6dad8237579 Mon Sep 17 00:00:00 2001 From: hmacdope Date: Thu, 28 Mar 2024 18:11:51 +1100 Subject: [PATCH] fix regex --- falcbot/falcbot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/falcbot/falcbot.py b/falcbot/falcbot.py index 4fd7d58..a7ac4d5 100644 --- a/falcbot/falcbot.py +++ b/falcbot/falcbot.py @@ -392,7 +392,7 @@ def submit_from_planned_network(): ... # do something with settings def make_pic50_pred(message, say, context, logger): content = message.get("text") # parse message for molset using regex - pattern = r"infer pIC50 from SMILES ([\w-]+) for target ([\w-]+)" + pattern = r"infer pIC50 from SMILES (.*?) for target (.*?)" match = re.search(pattern, content) if match: smiles = match.group(1)