From de8001c2d373f683288d0a37541b1af6d1e28c7c Mon Sep 17 00:00:00 2001 From: Jim Martens Date: Wed, 4 Sep 2019 11:41:54 +0200 Subject: [PATCH] Save json with indent level 2 Signed-off-by: Jim Martens --- src/twomartens/masterthesis/cli.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/twomartens/masterthesis/cli.py b/src/twomartens/masterthesis/cli.py index dc50b55..f3dbe22 100644 --- a/src/twomartens/masterthesis/cli.py +++ b/src/twomartens/masterthesis/cli.py @@ -490,7 +490,7 @@ def _visualise_metrics(visualise_precision_recall: callable, "precision_at_max_f1_macro": precision_at_max_f1_macro, "recall_at_max_f1_macro": recall_at_max_f1_macro, "ose_at_max_f1_macro": int(ose_at_max_f1_macro), - }, file) + }, file, indent=2) def _init_eager_mode() -> None: