Skip to content

feat!: add predefined relations constants (#43)#46

Merged
korikuzma merged 1 commit into
cat-vrs/1.1.0-snapshot.2026-02from
relations
Jun 5, 2026
Merged

feat!: add predefined relations constants (#43)#46
korikuzma merged 1 commit into
cat-vrs/1.1.0-snapshot.2026-02from
relations

Conversation

@korikuzma

Copy link
Copy Markdown
Collaborator

git cherry-pick 87b7695b88dd8dc1e8f071910873deeb632e162b

Would like to make a 0.8.0-a2 release once this is merged.

  • Move enums Relation and SystemUri to relations module
  • Add required_relations method to ProteinSequenceConsequence and CanonicalAllele
  • Clean up validator code

close #42

* Move enums `Relation` and `SystemUri` to `relations` module
* Add `required_relations` method to `ProteinSequenceConsequence` and
`CanonicalAllele`
* Clean up validator code
@korikuzma korikuzma self-assigned this Jun 4, 2026
@korikuzma korikuzma added the enhancement New feature or request label Jun 4, 2026
@brendanreardon

Copy link
Copy Markdown

This looks really nice! To potentially avoid an additional PR, do you think that it makes sense to wait until Cat-VRS #207: Implementation Guidance is done and discussed? In particular, this is going to bring up "spicy" (@DanielPuthawala 's words) conversations about required relations terms.

@korikuzma

Copy link
Copy Markdown
Collaborator Author

@brendanreardon TBH would love to get this in now and use it in some CIViCpy work, but I can wait. Just lmk

Comment thread src/ga4gh/cat_vrs/recipes.py

@brendanreardon brendanreardon left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you, Kori! This looks great!

@korikuzma korikuzma merged commit 56d0dd3 into cat-vrs/1.1.0-snapshot.2026-02 Jun 5, 2026
8 checks passed
@korikuzma korikuzma deleted the relations branch June 5, 2026 11:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants