Skip to content

Commit

Permalink
Mapping file reading was not stripping "\r"
Browse files Browse the repository at this point in the history
  • Loading branch information
JoseEspinosa committed Feb 1, 2018
1 parent 0c85292 commit 19d60c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pergola/mapping.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 19d60c8

Please sign in to comment.