hubmapconsortium / ingest-api

MIT License
0 stars 0 forks source link

Generate metadata.json files for processed datasets #575

Open shirey opened 1 week ago

shirey commented 1 week ago

Currently metadata.json files are generated for primary datasets only, change this so metadata.json file are additionally generated for processed datasets where creation_action == 'Central Process' or 'Lab Process' or 'External Process' but not for multi-assay component datasets (component datasets match creation_action == 'Multi-Assay Split)

libpitt commented 3 days ago

@shirey @yuanzhou We looked on the ingest-api of SN and looks like we already have this handled within publish_datastage method which looks like ported over method from HM. We tweaked ours a bit and added a check for the component datasets.

Here's the HM.

cc @maxsibilla