Marlin Lee commited on
Commit
dceeb0b
·
1 Parent(s): 29d1acc

Remove GT brain pre-fill on feature selection — only load when image is selected

Browse files
Files changed (1) hide show
  1. scripts/explorer/panels/feature.py +1 -8
scripts/explorer/panels/feature.py CHANGED
@@ -17,7 +17,7 @@ from bokeh.models import Button, Div
17
 
18
  from ..state import _S, active_ds
19
  from ..brain import HAS_DYNADIFF, render_cortical_profile
20
- from ..feature_logic import build_stats_html, build_top_mei_items, get_nsd_sample_basename
21
  from ..rendering import status_html, make_image_grid_html
22
  from .. import widgets
23
 
@@ -83,13 +83,6 @@ def update_feature_display(feature_idx):
83
  top_infos, f"Top MEIs (feature {feat}){subset_label}",
84
  img_indices=top_img_is, cols=3)
85
 
86
- # Pre-fill DynaDiff sample with the top NSD image for this feature
87
- if HAS_DYNADIFF:
88
- basename = get_nsd_sample_basename(feat, _ds)
89
- if basename:
90
- from .steering import set_nsd_sample
91
- set_nsd_sample(basename)
92
-
93
  status_div.text = status_html('idle', '')
94
 
95
  # Render cortical profile in background thread so the UI stays responsive
 
17
 
18
  from ..state import _S, active_ds
19
  from ..brain import HAS_DYNADIFF, render_cortical_profile
20
+ from ..feature_logic import build_stats_html, build_top_mei_items
21
  from ..rendering import status_html, make_image_grid_html
22
  from .. import widgets
23
 
 
83
  top_infos, f"Top MEIs (feature {feat}){subset_label}",
84
  img_indices=top_img_is, cols=3)
85
 
 
 
 
 
 
 
 
86
  status_div.text = status_html('idle', '')
87
 
88
  # Render cortical profile in background thread so the UI stays responsive