From 43f9cd8008c0fedfd8aeeb8fe09af45bec5905a1 Mon Sep 17 00:00:00 2001 From: Kori Kuzma Date: Wed, 28 Feb 2024 13:23:47 -0500 Subject: [PATCH 1/2] docs: update docstring for VrsObjectIdentifierIs --- src/ga4gh/core/_internal/identifiers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ga4gh/core/_internal/identifiers.py b/src/ga4gh/core/_internal/identifiers.py index 8f2e547a..f1cf86b9 100644 --- a/src/ga4gh/core/_internal/identifiers.py +++ b/src/ga4gh/core/_internal/identifiers.py @@ -43,7 +43,7 @@ class VrsObjectIdentifierIs(IntEnum): """ Defines the state for when the `ga4gh_identify` method should compute an identifier ('id' attribute) for the specified object. The options are: - ALWAYS - Always compute the identifier (this is the default behavior) + ANY - Always compute the identifier (this is the default behavior) INVALID - Compute the identifier if it is missing or is present but syntactically invalid MISSING - Only compute the identifier if missing From 82434ff96de3f7ddefb2ee0507a8a6187656020a Mon Sep 17 00:00:00 2001 From: Kori Kuzma Date: Fri, 1 Mar 2024 12:07:33 -0500 Subject: [PATCH 2/2] Update identifiers.py --- src/ga4gh/core/_internal/identifiers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ga4gh/core/_internal/identifiers.py b/src/ga4gh/core/_internal/identifiers.py index f1cf86b9..2c5ca819 100644 --- a/src/ga4gh/core/_internal/identifiers.py +++ b/src/ga4gh/core/_internal/identifiers.py @@ -44,7 +44,7 @@ class VrsObjectIdentifierIs(IntEnum): Defines the state for when the `ga4gh_identify` method should compute an identifier ('id' attribute) for the specified object. The options are: ANY - Always compute the identifier (this is the default behavior) - INVALID - Compute the identifier if it is missing or is present but syntactically invalid + GA4GH_INVALID - Compute the identifier if it is missing or is present but syntactically invalid MISSING - Only compute the identifier if missing The default behavior is safe and ensures that the identifiers are correct,