Skip to content

Commit

Permalink
Debug dataset id param
Browse files Browse the repository at this point in the history
  • Loading branch information
snwessel committed Jan 9, 2025
1 parent 6876e49 commit e97bf33
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions portal-backend/depmap/breadbox_shim/breadbox_shim.py
Original file line number Diff line number Diff line change
Expand Up @@ -243,10 +243,10 @@ def run_custom_analysis(
# Hack part 2: Custom analysis in Breadbox was set up to take a feature's given ID.
# We have the label here and need to use that to load the given ID.
query_dataset_id = parse_breadbox_slice_id(slice_query.dataset_id).dataset_id
feature_id = None
all_dataset_features = extensions.breadbox.client.get_dataset_features(
slice_query.dataset_id
query_dataset_id
)
feature_id = None
for bb_feature in all_dataset_features:
if bb_feature["label"] == slice_query.identifier:
feature_id = bb_feature["id"]
Expand Down

0 comments on commit e97bf33

Please sign in to comment.