Skip to content

Commit

Permalink
fix regex
Browse files Browse the repository at this point in the history
  • Loading branch information
hmacdope committed Mar 28, 2024
1 parent d7d9e28 commit 8a9723f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion falcbot/falcbot.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 8a9723f

Please sign in to comment.