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: