Skip to content

Commit

Permalink
fix: dump calibration file instead of dumping parameters-new twice
Browse files Browse the repository at this point in the history
  • Loading branch information
stavros11 committed Nov 26, 2024
1 parent 554c8d9 commit a97d9dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion convert.py
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ def convert(path: Path):
new = upgrade(params)
cal = upgrade_cal(params)
path.with_stem(path.stem + "-new").write_text(json.dumps(new, indent=4))
path.with_stem("calibration").write_text(json.dumps(new, indent=4))
path.with_stem("calibration").write_text(json.dumps(cal, indent=4))


def parse():
Expand Down

0 comments on commit a97d9dc

Please sign in to comment.