Skip to content

Commit

Permalink
Fixed np.str_ issue during test
Browse files Browse the repository at this point in the history
  • Loading branch information
tkakar committed Dec 18, 2024
1 parent 9957f11 commit 76eb0c3
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/portal_visualization/builders/anndata_builders.py
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ def _set_up_marker_gene(self, marker):
# Future improvement to be implemented in CAT-137
# elif (encoding_version == "0.2.0"):
# print('TODO - Encoding Version 0.2.0 support')
self._marker = marker
self._marker = str(marker) if marker is not None else None
self._gene_alias = gene_alias

def _set_up_dataset(self, vc):
Expand Down Expand Up @@ -600,7 +600,6 @@ def _setup_anndata_view_config(self, vc, dataset, column_name, column_label):
obs_set_coordination, obs_color_coordination = vc.add_coordination(
ct.OBS_SET_SELECTION, ct.OBS_COLOR_ENCODING)
genomic_profiles.use_coordination(obs_set_coordination, obs_color_coordination)

obs_set_coordination.set_value(obs_set_coordinations)
obs_color_coordination.set_value('cellSetSelection')

Expand Down

0 comments on commit 76eb0c3

Please sign in to comment.