Skip to content

Commit

Permalink
STY: fixed flake8 errors in gui.py
Browse files Browse the repository at this point in the history
  • Loading branch information
kmilo9999 committed Jun 14, 2024
1 parent 862fb41 commit 0fb984e
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions hnn_core/gui/gui.py
Original file line number Diff line number Diff line change
Expand Up @@ -1226,7 +1226,8 @@ def add_connectivity_tab(params, connectivity_out,
return net


def add_drive_tab(params, log_out, drives_out, drive_widgets, drive_boxes, tstop,
def add_drive_tab(params, log_out, drives_out, drive_widgets,
drive_boxes, tstop,
layout):
net = jones_2009_model(params)

Expand Down Expand Up @@ -1275,9 +1276,10 @@ def load_drive_and_connectivity(params, log_out, drives_out,
with log_out:
# Add connectivity
add_connectivity_tab(params, connectivity_out,
connectivity_textfields)
connectivity_textfields)
# Add drives
add_drive_tab(params, log_out, drives_out, drive_widgets, drive_boxes, tstop,
add_drive_tab(params, log_out, drives_out, drive_widgets,
drive_boxes, tstop,
layout)


Expand Down Expand Up @@ -1339,7 +1341,8 @@ def on_upload_params_change(change, tstop, dt, log_out, drive_boxes,
add_connectivity_tab(params, connectivity_out, connectivity_textfields)
elif load_type == 'drives':
with log_out:
add_drive_tab(params, log_out, drives_out, drive_widgets, drive_boxes, tstop,
add_drive_tab(params, log_out, drives_out,
drive_widgets, drive_boxes, tstop,
layout)
else:
raise ValueError
Expand Down

0 comments on commit 0fb984e

Please sign in to comment.