Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[MRG] chore: change fixed L2 names in gui to L2/3 #907

Merged
merged 2 commits into from
Oct 22, 2024

Conversation

asoplata
Copy link
Collaborator

Note that this does not change the L2 names inherent in the cell_types which are loaded dynamically in the gui, such as shown here: #904 (comment)

@asoplata asoplata added the hnn-gui HNN GUI label Oct 18, 2024
@asoplata asoplata requested review from gtdang and ntolley October 18, 2024 17:45
@asoplata asoplata changed the title chore: change fixed L2 names in gui to L2/3 [MRG] chore: change fixed L2 names in gui to L2/3 Oct 18, 2024
@jasmainak
Copy link
Collaborator

merge button is yours @gtdang and @ntolley

@@ -400,7 +400,7 @@ def __init__(self, theme_color="#802989",
button_color=self.layout['theme_color'])

self.cell_type_radio_buttons = RadioButtons(
options=['L2 Pyramidal', 'L5 Pyramidal'],
options=['L2/3 Pyramidal', 'L5 Pyramidal'],
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

don't forget to update whats_new.rst so you can be credited in the next release

Copy link
Collaborator

@gtdang gtdang left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ooo this isn't going to be quite a simple change. There are several keys that are constructed that rely on the radio button titles, which will dynamically update viewable parameters. Let's talk Monday.

Note that this does not change the L2 names inherent in the `cell_types`
which are loaded dynamically in the gui, such as shown here:
jonescompneurolab#904 (comment)
Should squash this before pushing to master...
@asoplata
Copy link
Collaborator Author

@gtdang I think I found where a simple string replace lets the read-in text in cell_type play well with cell_parameters_key. I tested it in the GUI and it seems to correctly load the properties, and switch between them.

@gtdang gtdang self-requested a review October 22, 2024 21:14
Copy link
Collaborator

@gtdang gtdang left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved

@gtdang gtdang merged commit 27c6fc1 into jonescompneurolab:master Oct 22, 2024
12 checks passed
@asoplata asoplata deleted the iss904_gui_L23 branch October 22, 2024 21:51
@asoplata
Copy link
Collaborator Author

Resolves #904

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
hnn-gui HNN GUI
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants