Skip to content

Commit

Permalink
Update utils.py (#25)
Browse files Browse the repository at this point in the history
  • Loading branch information
ddomingof authored May 12, 2020
1 parent e82fd8c commit 56e2acd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/diffupy/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ def from_json(path: str):
def to_json(data, path: str):
"""Save json file."""
with open(path, 'w') as f:
json.dump(data, f)
json.dump(data, f, indent=2)


def from_pickle(input_path):
Expand Down

0 comments on commit 56e2acd

Please sign in to comment.