From 99bd2d3d609596c226a4467d6ea26e577474b69d Mon Sep 17 00:00:00 2001 From: Jim Balhoff Date: Sun, 20 Mar 2016 22:35:00 -0400 Subject: [PATCH] Corrected transformation of Symbol into String. --- src/main/scala/org/phenoscape/scowl/converters/SWRLArgs.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/scala/org/phenoscape/scowl/converters/SWRLArgs.scala b/src/main/scala/org/phenoscape/scowl/converters/SWRLArgs.scala index e7fcfa9..a86d3cf 100644 --- a/src/main/scala/org/phenoscape/scowl/converters/SWRLArgs.scala +++ b/src/main/scala/org/phenoscape/scowl/converters/SWRLArgs.scala @@ -18,7 +18,7 @@ trait SWRLArgs { val iriPrefix = "urn:swrl#" - def toArgument(arg: Symbol): SWRLVariable = factory.getSWRLVariable(IRI.create(s"$iriPrefix${arg.toString}")) + def toArgument(arg: Symbol): SWRLVariable = factory.getSWRLVariable(IRI.create(s"$iriPrefix${arg.name}")) }