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

Updates to syntax for nmdc identifiers #1989

Conversation

aclum
Copy link
Contributor

@aclum aclum commented May 20, 2024

This PR includes:
-updates to ID syntax patterns to remove id_version and locus_tag from most Class

  • modifications to pattern for id_version to enforce a single period + digit
  • adding invalid tests to stress id patterns

…xamples to test id pattern constraints, update id_version pattern match to enforce it as a single dot followed by a digit
Copy link
Contributor

@mbthornton-lbl mbthornton-lbl left a comment

Choose a reason for hiding this comment

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

There is an empty file - if this is intentional add a comment to explain

src/data/invalid/DataObject-invalid_id.yaml Outdated Show resolved Hide resolved
@aclum aclum requested a review from mbthornton-lbl May 21, 2024 20:02
@aclum aclum marked this pull request as ready for review May 21, 2024 20:02
@aclum aclum merged commit 3ad7068 into main May 21, 2024
2 checks passed
@aclum aclum deleted the 1988-update-to-enforce-including-id_version-in-workflowexecutionactivity-subclasses branch May 21, 2024 22:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

update to enforce including id_version in WorkflowExecutionActivity subclasses
3 participants