You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was doing a search with get_compounds with smiles string and I got a compound with None as cid.
I know it could not make sense to ask for a compound with a cid as None, but we could do a check on the cid formats.
I will analyse why get_compounds returned a Compound object with None as cid later.
I can provide a fix to this issue and to get_compunds if there is a bug there also (I will open other ticket in that case)
By the way, it is expected to sometimes return a compound without a CID for a SMILES input. It happens when you provide a valid SMILES that doesn't match any compound record in PubChem. In these cases, get_compounds returns a compound record that has been generated on the fly that contains calculated properties but no CID.
I was doing a search with get_compounds with smiles string and I got a compound with None as cid.
I know it could not make sense to ask for a compound with a cid as None, but we could do a check on the cid formats.
I will analyse why get_compounds returned a Compound object with None as cid later.
I can provide a fix to this issue and to get_compunds if there is a bug there also (I will open other ticket in that case)
This was the error:
The text was updated successfully, but these errors were encountered: