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

MOA therapy unique contraint failed #426

Open
korikuzma opened this issue Jan 31, 2025 · 1 comment
Open

MOA therapy unique contraint failed #426

korikuzma opened this issue Jan 31, 2025 · 1 comment
Assignees
Labels
bug Something isn't working priority:high High priority

Comments

@korikuzma
Copy link
Member

{
        "name": "Selpercatinib",
        "type": "Targeted therapy",
        "strategy": "RET inhibition",
        "resistance": "",
        "sensitivity": 1
}

and

{
        "name": "LOXO-292",
        "type": "Targeted therapy",
        "strategy": "RET inhibition",
        "resistance": 1,
        "sensitivity": ""
}

normalize to the same concept normalize.therapy.rxcui:2370147. However, we create two separate Therapy objects in MoaTransformer with the same id="moa.normalize.therapy.rxcui:2370147", which fails to satisfy the DB uniqueness constraint.

This is similar to #409

@korikuzma
Copy link
Member Author

Other conflicts:
Abiraterone acetate and Abiraterone resolve to rxcui:1100071
Rapamycin and Sirolimus resolve to rxcui:35302

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working priority:high High priority
Projects
None yet
Development

No branches or pull requests

1 participant