Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Keyerror "Complex" when infer examples #8

Closed
EBGU opened this issue Feb 27, 2024 · 0 comments
Closed

Keyerror "Complex" when infer examples #8

EBGU opened this issue Feb 27, 2024 · 0 comments

Comments

@EBGU
Copy link

EBGU commented Feb 27, 2024

Hi,

When I used your code to infer your example pdbs, I got no result. I checked the error message and found the following:

Traceback (most recent call last):
File "fabind_inference.py", line 372, in
post_optim_mol(args, accelerator, data, com_coord_pred, com_coord_pred_per_sample_list, com_coord_per_sample_list, compound_batch, LAS_tmp=LAS_tmp, rigid=args.rigid)
File "fabind_inference.py", line 288, in post_optim_mol
com_coord_i = data[i]['compound'].rdkit_coords
File "/home/jiayinjun/miniconda3/envs/fabind/lib/python3.8/site-packages/torch_geometric/data/batch.py", line 177, in getitem
return self.get_example(idx) # type: ignore
File "/home/jiayinjun/miniconda3/envs/fabind/lib/python3.8/site-packages/torch_geometric/data/batch.py", line 124, in get_example
data = separate(
File "/home/jiayinjun/miniconda3/envs/fabind/lib/python3.8/site-packages/torch_geometric/data/separate.py", line 35, in separate
attrs = slice_dict[key].keys()
KeyError: 'complex'

Could please you help me with this error? Thank you very much!

@EBGU EBGU closed this as not planned Won't fix, can't repro, duplicate, stale Feb 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant