rosemariafontana commited on
Commit
e32abe7
·
verified ·
1 Parent(s): c242cd3

Update script_for_automation.py

Browse files
Files changed (1) hide show
  1. script_for_automation.py +1 -1
script_for_automation.py CHANGED
@@ -511,7 +511,7 @@ def drive_process():
511
  # Optionally save differences as a separate file
512
  differences_file = os.path.join(recipe_folder, f"recipe_{recipe_dict['recipe_id']}_data_{key}_differences.json")
513
  with open(differences_file, 'w') as f:
514
- json.dump(differences, f, indent=2)
515
 
516
  print("ZIPPING UP WHOLE THING")
517
  # Zip the entire output folder
 
511
  # Optionally save differences as a separate file
512
  differences_file = os.path.join(recipe_folder, f"recipe_{recipe_dict['recipe_id']}_data_{key}_differences.json")
513
  with open(differences_file, 'w') as f:
514
+ f.write(str(differences))
515
 
516
  print("ZIPPING UP WHOLE THING")
517
  # Zip the entire output folder