Skip to content

Commit

Permalink
remove knee_angle_<>_beta
Browse files Browse the repository at this point in the history
  • Loading branch information
antoinefalisse committed Nov 11, 2023
1 parent 4cc4a0f commit cef8a20
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions gait_analysis/function/handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -179,11 +179,16 @@ def handler(event, context):
for i in range(coordValues.shape[0]):
datasets.append({})
for j in range(coordValues.shape[1]):
# Exclude knee_angle_r_beta and knee_angle_l_beta
if 'beta' in colNames[j]:
continue
datasets[i][colNames[j]] = coordValues[i,j]

# Available options for line curve chart.
y_axes = list(colNames)
y_axes.remove('time')
y_axes.remove('knee_angle_r_beta')
y_axes.remove('knee_angle_l_beta')

# Create results dictionnary.
results = {
Expand Down

0 comments on commit cef8a20

Please sign in to comment.