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

Dropdown menu disappeared #15

Closed Andrea3v closed 10 months ago

Andrea3v commented 10 months ago

It seems the dropdown menu (when running within MATLAB) has vanished from both mouse and rat:

dropdown

the standalone still has it though. I tried different MATLAB installations but problem persists. any help to bring it back would be very appreciated!

thank you Andrea

petersaj commented 10 months ago

Hi Andrea - it still shows up for me (just mouse version - rat version is lagging behind changes so doesn't have it yet), can you send a screenshot of what yours looks like? Does it appear if you make the window bigger?

Andrea3v commented 10 months ago

Hi Andy, thank you for the quick reply! here's a screenshot: image resizing the window doesn't make it appear, unfortunately. Just to confirm: the rat version never had it? I'm mainly interested in rescaling the atlas according to Bregma-lambda distance. I started recording in rats and realized they have a quite significant range of measures (7.5-10mm), is there a workaround I can use to account for that (maybe through the code or something)?

thank you in advance for any help or suggestion you may have ~Andrea PS I love this tool!

petersaj commented 10 months ago

Hi Andrea - that's a very old version of the GUI, can you try pulling the latest repo and trying again? I'm not sure how you've gotten the old one.

That's right that the rat version never had it, I'm hoping to merge the GUIs (to get an alert, subscribe to this issue: https://github.com/petersaj/neuropixels_trajectory_explorer/issues/13), but probably won't be able to this month. Unfortunately until I do that you can't rescale the rat atlas with this GUI.

Andrea3v commented 10 months ago

you are right! I didn't notice I was running a version from Feb 🤦🏼‍♂️ a conflict was preventing matlab to pull the latest version of the code. indeed the new code has the dropdown! thank you for your help and looking forward to the next upgrade! PS by changing clim([0 300]) to caxis([0 300]) on line 137 would help run the code in MATLAB versions before 2022!

petersaj commented 10 months ago

Great - sure, I switched clims to caxiss