Skip to content

Commit

Permalink
fix: removed unnecessary display call
Browse files Browse the repository at this point in the history
The extra display call was not needed because the display is called within the function to render the cell params. Also the function it was wrapping had no return to display, thus causing a "None" to print to the console.
  • Loading branch information
gtdang committed Jul 31, 2024
1 parent fcc593a commit cca4764
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions hnn_core/gui/gui.py
Original file line number Diff line number Diff line change
Expand Up @@ -1481,10 +1481,10 @@ def add_cell_parameters_tab(cell_params_out, cell_pameters_vboxes,
cell_params_out.clear_output()

# Add cell parameters
display(_update_cell_params_vbox(cell_params_out,
cell_pameters_vboxes,
cell_type_radio_button.value,
cell_layer_radio_button.value))
_update_cell_params_vbox(cell_params_out,
cell_pameters_vboxes,
cell_type_radio_button.value,
cell_layer_radio_button.value)


def get_cell_param_default_value(cell_type_key, param_dict):
Expand Down

0 comments on commit cca4764

Please sign in to comment.