Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions skops/card/_model_card.py
Original file line number Diff line number Diff line change
Expand Up @@ -182,8 +182,8 @@ def split_subsection_names(key: str) -> list[str]:
['Section A']
>>> split_subsection_names("Section A/Section B/Section C")
['Section A', 'Section B', 'Section C']
>>> split_subsection_names("A section containg \\/ a slash")
['A section containg / a slash']
>>> split_subsection_names("A section containing \\/ a slash")
['A section containing / a slash']
>>> split_subsection_names("Spaces are / stripped")
['Spaces are', 'stripped']

Expand Down