charlieoneill commited on
Commit
116d200
1 Parent(s): 5c8cf60

correation >> correlation

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -781,7 +781,7 @@ def create_interface():
781
  return gr.CheckboxGroup(choices=[])
782
  matches = [f for f in subject_data[current_subject]['feature_analysis'] if search_text.lower() in f['label'].lower()]
783
  for match in matches:
784
- if math.isnan(match['pearson_correation']):
785
  match['pearson_correlation'] = 0
786
  matches = sorted(matches, key=lambda x: x['pearson_correlation'], reverse=True)
787
  matches = [f"{f['label']} ({f['index']})" for f in matches]
 
781
  return gr.CheckboxGroup(choices=[])
782
  matches = [f for f in subject_data[current_subject]['feature_analysis'] if search_text.lower() in f['label'].lower()]
783
  for match in matches:
784
+ if math.isnan(match['pearson_correlation']):
785
  match['pearson_correlation'] = 0
786
  matches = sorted(matches, key=lambda x: x['pearson_correlation'], reverse=True)
787
  matches = [f"{f['label']} ({f['index']})" for f in matches]