rosemariafontana commited on
Commit
f24861a
·
verified ·
1 Parent(s): 1831656

Update script_for_automation.py

Browse files
Files changed (1) hide show
  1. script_for_automation.py +4 -6
script_for_automation.py CHANGED
@@ -480,17 +480,15 @@ def drive_process():
480
 
481
 
482
  print("PROCESSING SPECIFICATIONS!!!!!!!!!!!!!!!")
483
- #processed_farm_activity_json, processed_interactions_json, processed_trials_json = process_specifications(proc_spec)
484
 
485
- # REMOVE THIS AND UNCOMMENT ABOVE #
486
  processed_farm_activity_json = gold_standard_planting_json
487
  processed_interactions_json = gold_standard_interactions_json
488
  processed_trials_json = gold_standard_trials_json
489
 
490
- # REMOVE THIS AND UNCOMMENT TOO #
491
- #processed_farm_activity_json = json.loads(processed_farm_activity_json)
492
- #processed_interactions_json = json.loads(processed_interactions_json)
493
- #processed_trials_json = json.loads(processed_trials_json)
494
 
495
  # Compare the generated JSON to the gold standard
496
  differences_planting = list(diff(gold_standard_planting_json, processed_farm_activity_json))
 
480
 
481
 
482
  print("PROCESSING SPECIFICATIONS!!!!!!!!!!!!!!!")
483
+ processed_farm_activity_json, processed_interactions_json, processed_trials_json = process_specifications(proc_spec)
484
 
 
485
  processed_farm_activity_json = gold_standard_planting_json
486
  processed_interactions_json = gold_standard_interactions_json
487
  processed_trials_json = gold_standard_trials_json
488
 
489
+ processed_farm_activity_json = json.loads(processed_farm_activity_json)
490
+ processed_interactions_json = json.loads(processed_interactions_json)
491
+ processed_trials_json = json.loads(processed_trials_json)
 
492
 
493
  # Compare the generated JSON to the gold standard
494
  differences_planting = list(diff(gold_standard_planting_json, processed_farm_activity_json))