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

Apply provenance-related features from upstream #94

Closed
jsheunis opened this issue Apr 10, 2024 · 2 comments
Closed

Apply provenance-related features from upstream #94

jsheunis opened this issue Apr 10, 2024 · 2 comments
Assignees

Comments

@jsheunis
Copy link
Collaborator

The latest updates to provenance metadata extraction and rendering in a catalog are contained in datalad/datalad-catalog#433.

We should ensure that previously existing features and the latest changes are available to this catalog instance, so that provenance info can be rendered.

@jsheunis
Copy link
Collaborator Author

Latest update:

A demo for how this works for the clustered-network-pub dataset:

  1. Clone the dataset: git clone https://github.com/psychoinformatics-de/ClusteredNetwork_pub.git
  2. Create a new empty catalog: datalad catalog-create --catalog clustercat
  3. Run the tool script: python datalad-catalog/tools/extract_core_runprov.py ClusteredNetwork_pub clustercat
    This script:
    • takes paths to the DataLad dataset and the empty catalog as arguments
    • extracts core metadata as well as runprov metadata from the dataset, using the relevant extractor modules in datalad-catalog/extractors
    • translates these records to catalog-ready records
    • adds the records to the catalog
  4. Set the catalog home page
    datalad catalog-set --catalog clustercat --dataset-id bfe12f51-3f30-4ceb-b4de-9b6f85f2ef6c --dataset-version 62e2fe8326350e27a381fa4b28afc4f83fa6b893 home
    
  5. serve the catalog: datalad catalog-serve -c clustercat

video:

clusterdemo.mp4

@jsheunis jsheunis self-assigned this May 28, 2024
@mih
Copy link
Contributor

mih commented Jun 6, 2024

This has been resolved. Discussed in lab meeting 2024-06-06

@mih mih closed this as completed Jun 6, 2024
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

No branches or pull requests

2 participants