amroa commited on
Commit
01dc1bf
·
1 Parent(s): c589bb9
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -15,7 +15,7 @@ def compute_horvath_score(uploaded_file, clock_selection, coefficients, intercep
15
 
16
  # the user data must have the required columns
17
  if 'probes' not in user_data.columns or 'beta' not in user_data.columns:
18
- return "Error: Uploaded CSV must have columns 'cpg_sites' and 'beta'."
19
 
20
  user_data.rename(columns={"probes": "Marker"}, inplace=True)
21
 
 
15
 
16
  # the user data must have the required columns
17
  if 'probes' not in user_data.columns or 'beta' not in user_data.columns:
18
+ return "Error: Uploaded CSV must have columns 'probes' and 'beta'."
19
 
20
  user_data.rename(columns={"probes": "Marker"}, inplace=True)
21