Skip to content

Commit

Permalink
[HOTFIX] Fix get_entity_type logic (#103)
Browse files Browse the repository at this point in the history
  • Loading branch information
NickAkhmetov authored Dec 13, 2024
1 parent 936eb66 commit 95f6a0c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion VERSION.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.3.3
0.3.4
4 changes: 3 additions & 1 deletion src/portal_visualization/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,9 @@ def get_vitessce_conf_cells_and_lifted_uuid(
# Otherwise, just try to visualize the data for the entity itself:
else: # pragma: no cover # We have separate tests for the builder logic
try:
Builder = get_view_config_builder(entity, self.get_entity(), parent, epic_uuid)
def get_entity(uuid):
return self.get_entity(uuid=uuid)
Builder = get_view_config_builder(entity, get_entity, parent, epic_uuid)
builder = Builder(entity, self.groups_token, self.assets_endpoint)
vitessce_conf = builder.get_conf_cells(marker=marker)
except Exception as e:
Expand Down

0 comments on commit 95f6a0c

Please sign in to comment.