Skip to content

Commit 3b5f418

Browse files
committed
Apply black formatting to Auto3DSeg utils
Signed-off-by: Soumya Snigdha Kundu <soumya_snigdha.kundu@kcl.ac.uk>
1 parent 23433a7 commit 3b5f418

1 file changed

Lines changed: 10 additions & 2 deletions

File tree

monai/auto3dseg/utils.py

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -326,8 +326,16 @@ def algo_to_json(algo: Algo, template_path: PathLike | None = None, **algo_meta_
326326
"""
327327
state = {}
328328
for attr in [
329-
"template_path", "data_stats_files", "data_list_file", "mlflow_tracking_uri",
330-
"mlflow_experiment_name", "output_path", "name", "best_metric", "fill_records", "device_setting",
329+
"template_path",
330+
"data_stats_files",
331+
"data_list_file",
332+
"mlflow_tracking_uri",
333+
"mlflow_experiment_name",
334+
"output_path",
335+
"name",
336+
"best_metric",
337+
"fill_records",
338+
"device_setting",
331339
]:
332340
if hasattr(algo, attr):
333341
state[attr] = _make_json_serializable(getattr(algo, attr))

0 commit comments

Comments
 (0)