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

Closed
korikuzma opened this issue Jan 31, 2025 · 2 comments
Closed

MOA therapy unique contraint failed #426

korikuzma opened this issue Jan 31, 2025 · 2 comments
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

korikuzma added a commit that referenced this issue Feb 21, 2025
…429)

close #426

* If conflict occurs, the min label will be used as the primary label
for the mappable concept, and the other label will be added as an alias
in extensions
Copy link

Closed by #429.

korikuzma added a commit that referenced this issue Mar 9, 2025
…429)

close #426

* If conflict occurs, the min label will be used as the primary label
for the mappable concept, and the other label will be added as an alias
in extensions
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