Skip to content

Commit ce61050

Browse files
committed
fix: move table separator under the header
The Profile stats tables are misinterepreted by the MarkDown parsers (e.g. by GitHub) because it doesn't follow the spec for the MD table. Move the separator (|-|-|-|) to follow the table header (|Profile|decoder|decoder|) to fix parsing of these tables. Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
1 parent 6366a61 commit ce61050

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

fluster/fluster.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -701,10 +701,11 @@ def _profile_stats(
701701
}
702702

703703
if vectors_passed_per_profile_per_decoder:
704-
output = separator
705-
output += "\n|Profile|"
704+
output = "|Profile|"
706705
for decoder, _ in results:
707706
output += f"{decoder.name}|"
707+
output += "\n"
708+
output += separator
708709

709710
for profile in vectors_passed_per_profile_per_decoder.keys():
710711
for decoder, _ in results:

0 commit comments

Comments
 (0)