Skip to content

feat: add ATOM related identifier scheme#836

Open
TahaKhan998 wants to merge 1 commit into
CERNDocumentServer:masterfrom
TahaKhan998:feat/issue-786-atom-related-identifiers
Open

feat: add ATOM related identifier scheme#836
TahaKhan998 wants to merge 1 commit into
CERNDocumentServer:masterfrom
TahaKhan998:feat/issue-786-atom-related-identifiers

Conversation

@TahaKhan998

Copy link
Copy Markdown

Closes #786

Adds ATOM as a CDS-specific related identifier scheme so it can be selected in the Related works section like the other CDS-only schemes. The change keeps the implementation consistent with the existing project pattern by registering the scheme in CDS config, adding the validator/normalizer in schemes.py, and updating the test config accordingly.

@TahaKhan998 TahaKhan998 force-pushed the feat/issue-786-atom-related-identifiers branch 2 times, most recently from 3772375 to c73e9f2 Compare June 30, 2026 11:46
Comment thread site/tests/conftest.py Outdated
@TahaKhan998 TahaKhan998 force-pushed the feat/issue-786-atom-related-identifiers branch from c73e9f2 to 3238baf Compare July 2, 2026 12:23
Comment thread site/cds_rdm/schemes.py Outdated

def is_atom(val):
"""Test if argument is a non-empty ATOM identifier."""
return bool(str(val).strip())

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

how do you know what format atom ID has?

@TahaKhan998 TahaKhan998 force-pushed the feat/issue-786-atom-related-identifiers branch from 3238baf to 4c05354 Compare July 6, 2026 15:19
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.

Add ATOM ID scheme in related identifiers

3 participants