From 5aa17552a8e0c0c01977563ace02258a387fc9db Mon Sep 17 00:00:00 2001 From: Philipp Schneider <schneider.philipp@uni-muenster.de> Date: Mon, 8 Aug 2022 17:54:09 +0200 Subject: [PATCH] Add additional character to remove --- src/rdf-mappings/functions.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rdf-mappings/functions.py b/src/rdf-mappings/functions.py index 28608a7..7d42c65 100644 --- a/src/rdf-mappings/functions.py +++ b/src/rdf-mappings/functions.py @@ -44,7 +44,7 @@ def clean_class_name_string(input_string): Cleans string that is to be used as a class name from unwanted characters. """ - char_list = ["'", '"', '.', '+', ',', '*', '&', '/', '=', '’', ';', '¨', '#', '?', '\n'] + char_list = ["'", '"', '.', '+', ',', '*', '&', '/', '=', '’', ';', ':' '¨', '#', '?', '\n', '(', ')', '<', '>'] for char in char_list: input_string = input_string.replace(char, '') -- GitLab