Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Don't output RDF internals, like a string data types
  • Loading branch information
egonw committed Sep 7, 2011
1 parent 3617916 commit b66e4cd
Showing 1 changed file with 3 additions and 0 deletions.
Expand Up @@ -63,6 +63,9 @@ public List<IDSTest> discoverTests() throws BioclipseException {
//Add this model as a test if basic criteria are met
Map<String,String> props = opentox.getModelInfo(service.getServiceSPARQL(), model);
String title = props.get("http://purl.org/dc/elements/1.1/title");
if (title.endsWith("^^http://www.w3.org/2001/XMLSchema#string")) {
title = title.substring(0, title.indexOf("^^"));
}
IDSTest test = createOpenToxTest(model, title);
discoveredTests.add(test);

Expand Down

0 comments on commit b66e4cd

Please sign in to comment.