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

feat: add enum for as_version + add restrictions to ga4gh_serialize_as_version #431

Merged
merged 1 commit into from
Jul 17, 2024

Commits on Jul 16, 2024

  1. feat!: add enum for as_version + add restrictions to `ga4gh_seriali…

    …ze_as_version`
    
    Building off of #382 and #427
    
    * Add `PrevVrsVersion` enum to store previous versions of VRS that is supported for computing digests/identifiers
    * Updates function signatures + docstrings for ga4gh digest/serialize/identifier
    * Adds restrictions to `ga4gh_serialize_as_version`
      * For `SequenceLocation`: `sequenceReference` must be provided and must be a valid `SequenceReference` obj
      * For `Allele`: Only `LiteralSequenceExpression` and `ReferenceLengthExpression` are supported and must provide a `sequence` nonnull attribute.
    korikuzma committed Jul 16, 2024
    Configuration menu
    Copy the full SHA
    b5674cf View commit details
    Browse the repository at this point in the history