-
Notifications
You must be signed in to change notification settings - Fork 10
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
Error in the decoding phase #63
Comments
Hello @grassogianvito , We have been informed, that there might be some issues with the huggingface dataset (predate these two commits that patch it #23, #25). I would recommend reprocessing the full dataset ZINC dataset if you can. Otherwise, I will update it during the week. Are you errors related to samples that could not be decoded into valid molecular graphs ? |
Hello @maclandrol, thanks for your prompt answer. You can find below an example of code and error. safe_notation = "CC6.N63.C3(C5C4.c15cnn2c1.C2C.c14ccc(Cl)cc1Cl" try: ArgumentError Traceback (most recent call last) File ~/miniconda3/envs/CPPfeatures/lib/python3.10/site-packages/safe/converter.py:187, in SAFEConverter.decoder(self, inp, as_mol, canonical, fix, remove_dummies, remove_added_hs) File ~/miniconda3/envs/CPPfeatures/lib/python3.10/site-packages/datamol/mol.py:409, in standardize_smiles(smiles) ArgumentError: Python argument types in The above exception was the direct cause of the following exception: SAFEDecodeError Traceback (most recent call last) File ~/miniconda3/envs/CPPfeatures/lib/python3.10/site-packages/safe/converter.py:446, in decode(safe_str, as_mol, canonical, fix, remove_added_hs, remove_dummies, ignore_errors) SAFEDecodeError: Failed to decode CC6.N63.C3(C5C4.c15cnn2c1.C2C.c14ccc(Cl)cc1Cl During handling of the above exception, another exception occurred: AttributeError Traceback (most recent call last) AttributeError: module 'safe' has no attribute 'DecoderError' |
Hello,
I'm trying to convert the dataset available on Huggingface and decode it in SMILES code, but I get several errors. Do you have any information about this?
Best regards,
Gianvito
The text was updated successfully, but these errors were encountered: