You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm struggling to figure out how to implement a custom typer using libmolgrid. This page shows how to make the typer, but not how to use it with molgrid.ExampleProvider
Operating system: Ubuntu 20.04.1
Compiler: Not sure
CUDA version (if applicable): 11.4
CUDNN version (if applicable): Not sure
Python version: Python 3.9.16
The text was updated successfully, but these errors were encountered:
You need to wrap your function with PythonCallbackVectorTyper (or PythonCallbackIndexTyper) and then pass them as positional arguments to ExampleProvider:
You can pass multiple typers (e.g., you might have separate receptor and ligand typers) and these will be mapped to your input structures (e.g., each example might specify two structure files where the first is always the receptor and the second the ligand).
Issue summary
I'm struggling to figure out how to implement a custom typer using libmolgrid. This page shows how to make the typer, but not how to use it with molgrid.ExampleProvider
Steps to reproduce
Please see this repository that illustrates what I want to do: https://github.com/durrantlab/molgriddebug
Specifically this file: https://github.com/durrantlab/molgriddebug/blob/main/test.ipynb
Then search for "HELP US DAVID KOES!!!"
Your system configuration
Operating system: Ubuntu 20.04.1
Compiler: Not sure
CUDA version (if applicable): 11.4
CUDNN version (if applicable): Not sure
Python version: Python 3.9.16
The text was updated successfully, but these errors were encountered: