diff --git a/pergola/mapping.py b/pergola/mapping.py index 2333dc2..7888f16 100644 --- a/pergola/mapping.py +++ b/pergola/mapping.py @@ -153,7 +153,7 @@ def _mapping_config(self, file_map): row = row.replace('\"','') l=row.split(">") file_term = l[0].split(":")[1].rstrip() - pergola_term = l[1].split(":")[1].rstrip('\t\n') + pergola_term = l[1].split(":")[1].rstrip('\t\n\r') # Validation of the ontology term if pergola_term not in _p_ontology_terms: