Skip to content
This repository has been archived by the owner on Jul 8, 2020. It is now read-only.

Commit

Permalink
[GF#33228] Update NCBO REST client code.
Browse files Browse the repository at this point in the history
  • Loading branch information
kimong committed Mar 5, 2014
1 parent 526744d commit cb95004
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ public class Constants {
public static final String EMPTY = "";

public static final String ALL = "ALL";
public static final String OBO = "OBO";

// Application error constants
public static final String INIT_PARAM_ERROR_PAGE = "errorPage";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6401,11 +6401,9 @@ public static String createVisualizationWidgetURL(String abbreviation, String co
//String csName = (String) localname2CSNameMap.get(abbreviation);
String csName = getCSName(abbreviation);
String purl = getNCBOOntologyNamespace(csName);

System.out.println("(**********) " + purl);
if (purl == null) return null;

if (purl.contains("obo")) {
if (purl.indexOf("/obo/") != -1) {
code = code.replaceAll(":", "_");
}

Expand Down

0 comments on commit cb95004

Please sign in to comment.