Skip to content

Commit

Permalink
Added fix to provide parent uuid for kaggle2 (#3672)
Browse files Browse the repository at this point in the history
* Added fix to provide parent uuid for kaggle2

* Updated vitessce
  • Loading branch information
tkakar authored Jan 23, 2025
1 parent 3ef39a1 commit c6409ce
Show file tree
Hide file tree
Showing 3 changed files with 4,852 additions and 3,108 deletions.
1 change: 1 addition & 0 deletions CHANGELOG-fix-kaggle2-logic.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
- Fixes logic to provide parent uuid to the config builder.
5 changes: 3 additions & 2 deletions context/app/routes_browse.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,13 +117,14 @@ def details_vitessce(type, uuid):
marker = request.args.get('marker') or None
parent = client.get_entity(parent_uuid) if parent_uuid else None
epic_uuid = None
if 'epic' in entity.get('vitessce-hints') and entity.get(
if 'segmentation_mask' in entity.get('vitessce-hints') and entity.get(
'status') != 'Error':
epic_uuid = uuid
if parent is None:
ancestors = entity.get('immediate_ancestor_ids')
if len(ancestors) > 0:
parent = ancestors[0]
if 'epic' in entity.get('vitessce-hints'):
epic_uuid = uuid

vitessce_conf = client.get_vitessce_conf_cells_and_lifted_uuid(
entity,
Expand Down
Loading

0 comments on commit c6409ce

Please sign in to comment.