nci-hcmi-catalog / portal

HCMI Searchable Catalog Portal
https://hcmi-searchable-catalog.nci.nih.gov/
BSD 3-Clause "New" or "Revised" License
6 stars 2 forks source link

Spike: zip file download of model data #873

Closed akachru-github closed 3 years ago

akachru-github commented 3 years ago
joneubank commented 3 years ago

Added JSZip library to HCMI API and modified the export endpoint to produce a zip file. Additionally, reading the TSV returned from arranger we can get each of the model IDs and add a folder to the zip file for the model.

What needs to be added is fetching the variant TSVs for each model.

This will cover the all models export. The endpoint needs to be extended to have a filter allowing a subset of models to be returned. The UI will need updates to have the drop down that provides each of these download options.

See this feature branch for the code modified this way. The affected file is api/src/dataExport.js