Skip to content

Commit

Permalink
Merge pull request #53 from candleindark/enh
Browse files Browse the repository at this point in the history
Replace list comprehension in generator exp in `validation_err_count_table()`
candleindark authored Jan 15, 2025

Verified

This commit was signed with the committer’s verified signature.
sourabhxyz Sourabh
2 parents 15452f4 + bb17ba7 commit 760aa36
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/dandisets_linkml_status_tools/tools/md.py
Original file line number Diff line number Diff line change
@@ -82,7 +82,7 @@ def validation_err_count_table(c: dict[tuple, int]) -> str:
gen_header_and_alignment_rows(["Error category", "Count"])
+
# The content rows
"".join([gen_row((escape(str(k)), v)) for k, v in sorted(c.items())])
"".join(gen_row((escape(str(k)), v)) for k, v in sorted(c.items()))
)


0 comments on commit 760aa36

Please sign in to comment.