Skip to content

Commit e4fc3e5

Browse files
committed
fix: remove extra bundling in jsonschema_err_categorizer()
1 parent c7e7c19 commit e4fc3e5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/dandisets_linkml_status_tools/cmd_funcs/diff_manifests_reports.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -514,8 +514,8 @@ def jsonschema_err_categorizer(
514514
"""
515515
err_model = err[0]
516516
# Categorize the "absolute_path" by replacing all array indices with "[*]"
517-
categorized_absolute_path = (
518-
tuple("[*]" if isinstance(v, int) else v for v in err_model.absolute_path),
517+
categorized_absolute_path = tuple(
518+
"[*]" if isinstance(v, int) else v for v in err_model.absolute_path
519519
)
520520

521521
return err_model.message, err_model.absolute_schema_path, categorized_absolute_path

0 commit comments

Comments
 (0)