diff options
Diffstat (limited to 'experiments/plot_tracking_failure.py')
| -rw-r--r-- | experiments/plot_tracking_failure.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/experiments/plot_tracking_failure.py b/experiments/plot_tracking_failure.py index 1ca888c..7f273eb 100644 --- a/experiments/plot_tracking_failure.py +++ b/experiments/plot_tracking_failure.py @@ -144,6 +144,8 @@ def main(): facecolor="white") plt.close(fig) output = { + "script": os.path.relpath(__file__), + "script_sha256": sha256(__file__), "record": args.record, "record_sha256": sha256(args.record), "gate": args.gate, @@ -153,6 +155,11 @@ def main(): "pdf": pdf, "pdf_sha256": sha256(pdf), } + manifest = args.out + "_manifest.json" + output["manifest"] = manifest + with open(manifest, "w") as handle: + json.dump(output, handle, indent=2, sort_keys=True) + handle.write("\n") print(json.dumps(output, indent=2, sort_keys=True)) |
