AlibabaResearch / AlibabaResearch/DAMO-ConvAI

Missing foreign key entry in dev.toxicology.molecule table

Open
#158 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
1.6k
Forks
250
PR merge metrics
No merged PRs in 30d

Description

The following statement fails with the error below:

INSERT INTO "atom" ("id","molecule_id","element") VALUES ('TR005_1','TR005','c');

Details: pq: insert or update on table "atom" violates foreign key constraint "atom_molecule_id_fkey"

The molecule_id TR005 doesn't exist in the molecule table AFAICT.

I'm wondering if anyone's encountered this - what they did to resolve it and if we could work together on cleaning up the data if necessary.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.