data_efficient_grammar
data_efficient_grammar copied to clipboard
Inability to process SMILES with certain SMILES characters
Hello, My team and I are interested in using your package to facilitate the generation of new molecules with potential to have a certain type of toxicity. In order to do that, we explored the ability of your package to use a user-defined scoring function as the center of the training protocol. In addition to that, a new dataset is required to complete the training process. Although your package proved to be able to carry out training using user-defined functions, it seems to have some issues handling SMILES representations that contain certain characters. After some investigation, it seems like the package fails to process SMILES that contain / and \ characters which are used to indicate the cis and trans positions of atoms. we were wondering if there exist an easy fix to this problem and if yes, what should be done to fix that issue.
This the error it keeps showing
data processing 0/44
Traceback (most recent call last):
File "main.py", line 235, in
Hey,
My current suggestion is to remove these "/", "", or "*" from the SMILES strings since we now cannot handle any stereo/geometry information of molecular graphs.