Commit c661a097 authored by DanFaria's avatar DanFaria
Browse files

Fixed getName method in Ontology

parent 5a1d164a
......@@ -264,7 +264,9 @@ public class Ontology
*/
public String getName(int index)
{
return getLexicon().getBestName(index);
if(lex.containsNonSmallFormula(index))
return getLexicon().getBestName(index);
return uris.getLocalName(index);
}
/**
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment