From 263779b275769f7d09dd767be70ce8402c2eb646 Mon Sep 17 00:00:00 2001 From: jluethi Date: Tue, 23 Jul 2024 22:04:33 +0200 Subject: [PATCH] Add testing FIXME messages --- src/napari_feature_visualization/_tests/test_feature_vis.py | 3 +++ src/napari_feature_visualization/feature_vis.py | 1 - 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/napari_feature_visualization/_tests/test_feature_vis.py b/src/napari_feature_visualization/_tests/test_feature_vis.py index e19284d..027d6cd 100644 --- a/src/napari_feature_visualization/_tests/test_feature_vis.py +++ b/src/napari_feature_visualization/_tests/test_feature_vis.py @@ -36,6 +36,9 @@ def test_feature_vis_widget(make_napari_viewer): feature_vis_widget = feature_vis() + # FIXME: It appears feature test is used. How do I test other feature + # selection? Setting it in the function appears to have no effect. + # if we "call" this object, it'll execute our function feature_vis_widget( label_layer=label_layer, diff --git a/src/napari_feature_visualization/feature_vis.py b/src/napari_feature_visualization/feature_vis.py index 2ff8179..1e61bc5 100644 --- a/src/napari_feature_visualization/feature_vis.py +++ b/src/napari_feature_visualization/feature_vis.py @@ -105,7 +105,6 @@ def feature_vis( lower_contrast_limit: float = 100, upper_contrast_limit: float = 900, ): - if load_features_from == "CSV File": site_df = get_df(DataFrame) else: