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

RuntimeError on generating descriptors #51

Open
sumone-compbio opened this issue Nov 3, 2023 · 1 comment
Open

RuntimeError on generating descriptors #51

sumone-compbio opened this issue Nov 3, 2023 · 1 comment

Comments

@sumone-compbio
Copy link

Hi, I always get a runtime error on generating descriptors. I have a file of 7000 molecules with their smile entries. It stops after a few SMILES and gives runtime error. I tried to increase the the runtime and no. of threads but it did not work.

for smile in tqdm(smiles):
desc = from_smiles(smile, fingerprints=False, descriptors=True, threads=4)
Descriptors.append(desc)

@traver305
Copy link

Hi,
I had a similar problem with runtime error, using a csv file or 'bad molecule'.

I was pressed for time, so I had to come up with a solution (which took 10 hours XD).
I have 1600 molecules. For every hundred I create notebook (If i do this in one my computer failed 3 times). And then calculate descriptors 'from_smiles(list_of_molecules[0:20])'. Sometimes it throw error, so I divide it to 4 times and find out the bad element.

If you dont neet to do it by my way then dont. But I cant found any other solution and I need it by tomorrow

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