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

generate prefixmap for nmdc #1925

Open
sierra-moxon opened this issue Apr 15, 2024 · 2 comments · Fixed by #1976 · May be fixed by microbiomedata/berkeley-schema-fy24#223
Open

generate prefixmap for nmdc #1925

sierra-moxon opened this issue Apr 15, 2024 · 2 comments · Fixed by #1976 · May be fixed by microbiomedata/berkeley-schema-fy24#223
Assignees

Comments

@sierra-moxon
Copy link
Member

We can generate a prefix map for all the NMDC schema prefixes currently supported with their expansions using this linkml command:

poetry run gen-prefix-map src/schema/nmdc.yaml

per @aclum's request in PR #1924

@sierra-moxon sierra-moxon self-assigned this Apr 15, 2024
@aclum
Copy link
Contributor

aclum commented Apr 30, 2024

@sierra-moxon is there a way to get this generated and up on the website as a markdown file or something similar? Is gen-prefix-map part of linkml or this is specific to nmdc?

@sierra-moxon
Copy link
Member Author

sierra-moxon commented May 15, 2024

part of linkml, we can add it to the gen-doc target and deploy the .json file that results to our documentation site (that also allows downloading of the file at a stable URL instead of a github raw URL for computational usage).

see PR #1976

but this may not be what you are asking for - this is generating prefixes at the schema level, not for each individual NMDC typecode.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment