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

Signor processor error #1419

Closed
kkaris opened this issue Sep 8, 2023 · 2 comments · Fixed by #1423
Closed

Signor processor error #1419

kkaris opened this issue Sep 8, 2023 · 2 comments · Fixed by #1423

Comments

@kkaris
Copy link
Member

kkaris commented Sep 8, 2023

When running sources.signor.api.process_from_web an InvalidIdentifier error is raised:

InvalidIdentifier: Invalid identifier: SID:135317436 for PUBCHEM pattern ^\d+$

To re-create the error:

from indra.sources.signor import process_from_web
sp = process_from_web()
@cthoyt
Copy link
Collaborator

cthoyt commented Sep 12, 2023

PubChem has two databases - compounds and substances. SID would correspond to a substance ID, which with some api calls can probably be resolved to a proper CID (compound ID)

@kkaris
Copy link
Member Author

kkaris commented Sep 18, 2023

Resolved by #1423

@kkaris kkaris linked a pull request Sep 18, 2023 that will close this issue
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

Successfully merging a pull request may close this issue.

2 participants