Skip to content

Commit

Permalink
update blat URL to use https protocol
Browse files Browse the repository at this point in the history
  • Loading branch information
jrobinso committed Nov 28, 2023
1 parent 4eacfac commit ff18867
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
1 change: 0 additions & 1 deletion src/main/java/org/broad/igv/prefs/IGVPreferences.java
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,6 @@ private void updateCaches(String key, String value) {
if (booleanCache.containsKey(key)) {
booleanCache.put(key, Boolean.valueOf(value));
}
colorScaleCache.remove(key); //TODO color scale cache doesn't use key strings so something here is wrong.
objectCache.remove(key);
mutationColorScheme = null;
}
Expand Down
3 changes: 3 additions & 0 deletions src/main/java/org/broad/igv/util/blat/BlatClient.java
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,9 @@ public static List<PSLRecord> blat(String db, String userSeq) throws IOException
params.put("db", dbEncoded);
params.put("type", "DNA");
params.put("output", "json");

//System.out.println(urlpref + "?userSeq=" + userSeq + "&db=" + db + "&type=DNA&output=json");
//jsonString = HttpUtils.getInstance().getContentsAsJSON(new URL(urlpref + "?userSeq=" + userSeq + "&db=" + db + "&type=DNA&output=json"));
jsonString = HttpUtils.getInstance().doPost(new URL(urlpref), params);
}

Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/org/broad/igv/prefs/preferences.tab
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@ MASTER_RESOURCE_FILE_KEY Data registry URL string https://data.broadinstitute.or
PROVISIONING.URL OAuth provisioning URL string null
---

BLAT_URL BLAT URL String http://genome.ucsc.edu/cgi-bin/hgBlat
BLAT_URL BLAT URL String https://genome.ucsc.edu/cgi-bin/hgBlat
---

## Tooltip
Expand Down

0 comments on commit ff18867

Please sign in to comment.