Skip to content

Commit

Permalink
fix: changed logic in _update_cell_params_vbox to properly build the …
Browse files Browse the repository at this point in the history
…cell_parameters_key
  • Loading branch information
gtdang committed Oct 18, 2024
1 parent 7a42650 commit 1648df2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hnn_core/gui/gui.py
Original file line number Diff line number Diff line change
Expand Up @@ -1971,7 +1971,7 @@ def run_button_clicked(widget_simulation_name, log_out, drive_widgets,
def _update_cell_params_vbox(cell_type_out, cell_parameters_list,
cell_type, cell_layer):
cell_parameters_key = f"{cell_type}_{cell_layer}"
if "Biophysics" or 'Geometry' in cell_layer:
if cell_layer in ['Biophysics', 'Geometry']:
cell_parameters_key += f" {cell_type.split(' ')[0]}"

if cell_parameters_key in cell_parameters_list:
Expand Down

0 comments on commit 1648df2

Please sign in to comment.