Skip to content

Commit ef916d1

Browse files
committed
Also replace commas
1 parent ba4dbfe commit ef916d1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

examples/pbe/transduction/knowledge_graph/kg_path_finder.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ def __make_query_path__(distance: int, id: int, tabs: int = 1) -> str:
1515

1616

1717
def __format__(el: str) -> str:
18-
return el.replace(" ", "_").replace("'", "_")
18+
return el.replace(" ", "_").replace("'", "_").replace(",", "_")
1919

2020

2121
def build_search_path_query(entities: List[Tuple[str, str]], distance: int = 1) -> str:

0 commit comments

Comments
 (0)