Skip to content

Commit

Permalink
Add changes to local dev
Browse files Browse the repository at this point in the history
  • Loading branch information
RobbinBouwmeester committed Sep 6, 2023
1 parent e69bf0c commit 742b1a0
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion proteobench/github/gh.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,12 @@ def write_json_local_development(
print(f"Writing the json to: {fname}")

f = open(os.path.join(t_dir, "results.json"), "w")
all_datapoints.T.to_json(f)

all_datapoints.to_json(
f,
orient="records",
indent=2
)

return os.path.join(t_dir, "results.json")

Expand Down

0 comments on commit 742b1a0

Please sign in to comment.