-
Notifications
You must be signed in to change notification settings - Fork 0
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
feat!: update to vrs 2.0 models #166
Conversation
id: CURIE | None = Field(None, alias="_id") | ||
label: StrictStr | None = None | ||
sequence_location: LocationDescriptor | None = None | ||
|
||
_get_id_val = field_validator("id")(return_value) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
wanted to draw attention to these - it looks like everywhere return_value
was used was verifying a CURIE. This is no longer needed. (And note to myself: I will make sure this is tested and works properly with the usage of CURIE from gene normalizer schema)
I'll review this tomorrow morning |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice job 🚀
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍 looks good
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm still seeing a 1nt SequenceLocation in the examples here–needs to be addressed.
"type": "SequenceReference" | ||
}, | ||
"start": 23253980, | ||
"end": 23253981 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I agree–did this get addressed?
Just a note that, even though (I assume) we’re splitting out the changes to the genomic sequence start/end fields to use VRS 2.0 sequence locations in #171, that the genomic locations of |
yeah, I think we're conceiving of this as an existing error that is orthogonal to the aim of this PR, and a follow-up that overhauls how we're setting location starts/ends will address it exhaustively in #171 |
addressing SequenceLocation start/end in issue #171
…casing as the fusion classes)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approving the changes with the understanding that we will update for the correct use of start
and end
in a later PR
…n (same casing as the fusion classes)" This reverts commit 2880e18.
This PR is stale because it has been open 1 day(s) with no activity. Please review this PR. |
close #95