Skip to content

Commit

Permalink
Merge pull request #19 from fractal-napari-plugins-collection/17-type…
Browse files Browse the repository at this point in the history
…-mismatch-between-condition-table-and-filters

Fix type mismatch between filters and table columns
  • Loading branch information
fdsteffen authored Sep 17, 2024
2 parents 7388b12 + bc75c5c commit 649cb54
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/napari_ome_zarr_navigator/img_browser.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,9 @@ def initialize_filters(self):
self.df_without_pk = self.df.drop(
columns=["row", "col"]
).apply(pd.to_numeric, errors="ignore")
self.df = pd.concat(
(self.df[["row", "col"]], self.df_without_pk), axis=1
)
self.filter_names = self.df_without_pk.columns
self.filters = Container(
widgets=[
Expand Down

0 comments on commit 649cb54

Please sign in to comment.