Conversation
setup.py
Outdated
| "func_timeout", | ||
| "flask" | ||
| "flask", | ||
| "aizynthfinder", |
There was a problem hiding this comment.
We're now calling aizynth directly from the molscore env.
|
I was thinking of moving aizynthfinder to a flask server to remove MolScore dependencies. I.e., to keep it in a dedicated conda/mamba environment but have it running in flask to receive molecules and return scores. I also wanted to move away from calling the aizynthfinder CLI line each time and run from the python API if possible, which will avoid model loading/unloading overhead. |
How would you like me to proceed? Shall I make a thin flask server and put it in
This PR does exactly this, loading |
Yes exactly this!
Perfect! I hadn't seen the code proposed code changes yet, looks good. |
This PR:
Fixes AIZynthFinder, by replacing the separate mamba env, and updating the config format.