Skip to content

Commit

Permalink
Fix singlepoint CLI log filemode
Browse files Browse the repository at this point in the history
  • Loading branch information
ElliottKasoar committed Mar 15, 2024
1 parent b2f3367 commit 82efa62
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion janus_core/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ def singlepoint(
device=device,
read_kwargs=read_kwargs,
calc_kwargs=calc_kwargs,
log_kwargs={"filename": log_file, "filemode": "a"},
log_kwargs={"filename": log_file, "filemode": "w"},
)
s_point.run_single_point(
properties=properties, write_results=True, write_kwargs=write_kwargs
Expand Down

0 comments on commit 82efa62

Please sign in to comment.