Skip to content

Commit

Permalink
flake8
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewgait committed Sep 14, 2022
1 parent ab14798 commit 0b9aa1d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions examples/icub_vor_examples/cerebellum.py
Original file line number Diff line number Diff line change
Expand Up @@ -389,10 +389,10 @@ def compute_D_error(kd, head_velocity, eye_velocity):
GC_lower_index = GC_medium_index - 40
GC_upper_index = GC_medium_index + 60

if(GC_lower_index < 0):
if (GC_lower_index < 0):
GC_lower_index = 0

elif(GC_upper_index > num_GC_neurons):
elif (GC_upper_index > num_GC_neurons):
GC_upper_index = num_GC_neurons

for j in range(GC_medium_index - GC_lower_index):
Expand Down
4 changes: 2 additions & 2 deletions examples/icub_vor_examples/cerebellum_tb.py
Original file line number Diff line number Diff line change
Expand Up @@ -298,10 +298,10 @@ def process_VN_spiketrains(VN_spikes, t_start):
GC_lower_index = GC_medium_index - 40
GC_upper_index = GC_medium_index + 60

if(GC_lower_index < 0):
if (GC_lower_index < 0):
GC_lower_index = 0

elif(GC_upper_index > num_GC_neurons):
elif (GC_upper_index > num_GC_neurons):
GC_upper_index = num_GC_neurons

for j in range(GC_medium_index - GC_lower_index):
Expand Down

0 comments on commit 0b9aa1d

Please sign in to comment.