Update app.py
Browse files
app.py
CHANGED
|
@@ -5,16 +5,14 @@ import os
|
|
| 5 |
import functions as f
|
| 6 |
|
| 7 |
# Paths to the permanent files
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
|
|
|
|
|
|
|
|
|
| 11 |
|
| 12 |
-
def run_validation(
|
| 13 |
-
# Read user survey
|
| 14 |
-
if survey_file.name.endswith('.csv'):
|
| 15 |
-
survey_df = pd.read_csv(survey_file.name)
|
| 16 |
-
else:
|
| 17 |
-
survey_df = pd.read_excel(survey_file.name)
|
| 18 |
|
| 19 |
# Read permanent datasets
|
| 20 |
choices_df = pd.read_excel(CHOICES_PATH)
|
|
|
|
| 5 |
import functions as f
|
| 6 |
|
| 7 |
# Paths to the permanent files
|
| 8 |
+
survey_path = 'data/Copy of AGT.MHVL.0A.202505.0001 4.xlsx'
|
| 9 |
+
indicator_path = 'data/Indicators_indicators_Default view 18.xlsx'
|
| 10 |
+
questions_path = '/data/Indicators_questions_Default View 18.xlsx'
|
| 11 |
+
choice_path = 'data/Indicators_choices_Default View 17.xlsx'
|
| 12 |
+
parameters_path = 'data/Indicators_surveys_Survey validation.xlsx'
|
| 13 |
+
uuid = 'AGT.MHVL.0A.202505.0001'
|
| 14 |
|
| 15 |
+
def run_validation():
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 16 |
|
| 17 |
# Read permanent datasets
|
| 18 |
choices_df = pd.read_excel(CHOICES_PATH)
|