Skip to content

Commit

Permalink
include indentation for readability
Browse files Browse the repository at this point in the history
  • Loading branch information
JHogenboom committed Aug 6, 2024
1 parent 04cc6aa commit 1f00593
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion scripts/construct_flashcard.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,4 +94,4 @@ def construct_flashcard(aggregated_data_path, variable, positive_strata, negativ

# Save updated plotting information back to JSON file
with open(plotting_information_path, 'w') as f:
json.dump(plotting_info, f)
json.dump(plotting_info, f, indent=4)
2 changes: 1 addition & 1 deletion scripts/datawrapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -181,4 +181,4 @@ def retrieve_embedding_component(api_token, chart_id):

# Save updated plotting information back to JSON file
with open(plotting_information_path, 'w') as f:
json.dump(plotting_info, f)
json.dump(plotting_info, f, indent=4)
2 changes: 1 addition & 1 deletion scripts/vantage6_integration.py
Original file line number Diff line number Diff line change
Expand Up @@ -147,4 +147,4 @@ def _authenticate(config):

# Save the result in the appropriate location
with open(os.path.join(output_dir, "vantage6_result.json"), "w") as f:
json.dump(result, f)
json.dump(result, f, indent=4)

0 comments on commit 1f00593

Please sign in to comment.