rosemariafontana commited on
Commit
49e3220
·
verified ·
1 Parent(s): d1c6aca

Update process_data.py

Browse files
Files changed (1) hide show
  1. process_data.py +3 -1
process_data.py CHANGED
@@ -444,7 +444,9 @@ def parse_survey_stack_data(data):
444
  print("PROCESSING SURVEY STACK DATA")
445
  processed_data = {}
446
 
447
- farm_management_inputs = data[0]['data']['group_4']
 
 
448
 
449
  processed_data["stepwise_json_creation"] = data[0]['data']['stepwisejsoncreation']['value']
450
  print("STEPWISE?: " + str(processed_data["stepwise_json_creation"]))
 
444
  print("PROCESSING SURVEY STACK DATA")
445
  processed_data = {}
446
 
447
+ farm_management_inputs = data[0]['data']['group_4'][0]
448
+
449
+ print("FARM MANAGEMENT INPUTS" + str(farm_management_inputs))
450
 
451
  processed_data["stepwise_json_creation"] = data[0]['data']['stepwisejsoncreation']['value']
452
  print("STEPWISE?: " + str(processed_data["stepwise_json_creation"]))