petersaj / neuropixels_trajectory_explorer

Neuropixels trajectory explorer with the Allen CCF mouse atlas
GNU General Public License v3.0
62 stars 21 forks source link

cannot add 3 or more probes #19

Closed chongtianyifa closed 7 months ago

chongtianyifa commented 7 months ago

When I add 2 more probes, the probe color can not be assigned correctly. Changing line 2400 to the following solved the issue: if any(~selected_probe_idx) ind_unselected = find(~selected_probe_idx); for ii=ind_unselected set(gui_data.probe(ii).line,'color',unselected_color); end end

petersaj commented 7 months ago

Thanks, good find, I've just pushed a bugfix