datalad / datalad-catalog

Create a user-friendly data catalog from structured metadata
https://datalad-catalog.netlify.app
MIT License
14 stars 12 forks source link

Ability to auto-fill required `dataset_id` metadata field #312

Closed mih closed 1 month ago

mih commented 1 year ago

Given any non-DataLad identifier, we can generate a UUID identifier that would be suitable for DataLad using an approach that datalad-ebrain is using

https://github.com/datalad/datalad-ebrains/blob/75acaae21e7daf4ea100ec7e8e8fa01774729e63/datalad_ebrains/fairgraph_query.py#L83-L88

This would make it possible to accept any identifier as input, and render it out reproducibly as a UUID on output (if it is not already a UUID).

jsheunis commented 1 month ago

This functionality has been implemented and used in datalad-catalog-adjacent tools, e.g. the SFB1451/ABCD-J catalog tooling.