Update process_data.py
Browse files- process_data.py +7 -2
process_data.py
CHANGED
|
@@ -188,6 +188,11 @@ def generate_json_pieces(specification, model_version, additional_json_creation_
|
|
| 188 |
# return output1, output2, output3
|
| 189 |
|
| 190 |
def parse_survey_stack(data):
|
| 191 |
-
|
| 192 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 193 |
|
|
|
|
| 188 |
# return output1, output2, output3
|
| 189 |
|
| 190 |
def parse_survey_stack(data):
|
| 191 |
+
processed_data = {}
|
| 192 |
+
|
| 193 |
+
model_version = data[0]['data']['modelversion']['value'][0]
|
| 194 |
+
|
| 195 |
+
processed_data["model_version"] = model_version
|
| 196 |
+
|
| 197 |
+
return processed_data
|
| 198 |
|