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

AttributeError: 'NoneType' object has no attribute 'GetNumAtoms' #19

Open
Varat7v2 opened this issue Oct 15, 2024 · 1 comment
Open

Comments

@Varat7v2
Copy link

In this file, I am getting the following error. Could you please help on this.

"DrugGEN/new_dataloader.py", line 51, in _generate_encoders_decoders
molecule_size = mol.GetNumAtoms()
^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'GetNumAtoms'

Thank you

@atabeyunlu
Copy link
Collaborator

Hey,

Can you give us a bit more context about the origin of this error? We have a hard time understanding why this occurred. If you send the whole error message, which dataset you used, which command you used etc., we can better locate the problem. Thanks.

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

2 participants