chanzuckerberg / cryoet-data-portal

CryoET Data Portal
MIT License
19 stars 10 forks source link

Generate neuroglancer config for all tomograms #1336

Open manasaV3 opened 1 week ago

manasaV3 commented 1 week ago

Generate neuroglancer configs for all tomograms, even if they're not default. This will help users with being able to visualize all the tomograms before downloading them.

For s3 import

For v1 api db import

In the db_import, set the neuroglancer_config to None for tomograms that have is_visualization_default= false.

This is required because the v1 api does not support is_visualization_default field that is used by frontend to identify the tomogram to be displayed in the single dataset page.

For v2 api db import

No changes are required for db_import.

junxini commented 1 week ago

HOLD for now: Jun to surface to design first