hubmapconsortium / portal-ui

HuBMAP Data Portal front end
https://portal.hubmapconsortium.org
MIT License
12 stars 2 forks source link

Austenem/CAT-964 Update external processing labels #3581

Closed austenem closed 4 weeks ago

austenem commented 1 month ago

Summary

Displays EPIC datasets as being generated via external processing in dataset relationship diagrams. Previously, segmentation mask datasets were being shown as being generated via "Image Pyramid" processing due to their vitessce-hints.

Design Documentation/Original Tickets

CAT-964 Jira ticket

Testing

Verified using a segmentation mask EPIC on dev: https://portal.dev.hubmapconsortium.org/browse/dataset/22901da5f080b219a514e38381acbb0e

Screenshots/Video

Dev: Screenshot 2024-10-24 at 11 58 21 AM

Local:

Screenshot 2024-10-25 at 10 08 40 AM

Checklist

lchoy commented 4 weeks ago

@austenem Would it be possible to use the assay_display_name instead of "External Process"? Acknowledging that is not what's specified in the ticket, displaying the analysis performed would be more consistent with what's shown for other dataset types.

austenem commented 4 weeks ago

@austenem Would it be possible to use the assay_display_name instead of "External Process"? Acknowledging that is not what's specified in the ticket, displaying the analysis performed would be more consistent with what's shown for other dataset types.

That makes sense and seems like a useful addition. There isn't an assay_display_name present in the soft assay response, but there are dataset-type and description fields that both contain the relevant label for this EPIC. I chose to use the dataset-type because it appears unique to the EPIC processing type.

john-conroy commented 4 weeks ago

The description is the same as assay_display_name.

john-conroy commented 4 weeks ago

https://github.com/hubmapconsortium/search-api/blob/1e7c8af08b28c587b1bded66503c8e82b70e079e/src/hubmap_translation/addl_index_transformations/portal/add_assay_details.py#L143