-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add enum for
as_version
+ add restrictions to `ga4gh_serializ…
…e_as_version` (#431) 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.
- Loading branch information
Showing
4 changed files
with
135 additions
and
60 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters