Skip to content

Commit

Permalink
Management of label containing '/n' character when importing old proj…
Browse files Browse the repository at this point in the history
…ect versions (1 and 2)
  • Loading branch information
LL committed Mar 21, 2020
1 parent bb3c149 commit 8575e65
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions eddy/core/loaders/graphol_iri.py
Original file line number Diff line number Diff line change
Expand Up @@ -414,6 +414,7 @@ def getIriFromLabelText(self,labelText, itemType):
iriString = 'http://www.w3.org/2002/07/owl#bottomObjectProperty'
if itemType is Item.ConceptIRINode:
iriString = 'http://www.w3.org/2002/07/owl#Nothing'
labelText = labelText.replace('\n','')
iriElList = labelText.split(':')
if len(iriElList) > 1:
prefix = iriElList[0]
Expand Down

0 comments on commit 8575e65

Please sign in to comment.