Skip to content

Commit 9572765

Browse files
committed
suport feature info URL from json genome definitions
1 parent b1b0824 commit 9572765

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/main/java/org/broad/igv/feature/genome/load/JsonGenomeLoader.java

+7
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,13 @@ public Genome loadGenome() throws IOException {
124124
res.setVisibilityWindow(-1);
125125
}
126126

127+
JsonElement infoURL = obj.get("infoURL");
128+
if(infoURL != null) {
129+
res.setFeatureInfoURL(infoURL.getAsString());
130+
}
131+
132+
// geneFeatureTrack.setFeatureInfoURL(annotationURL);
133+
127134
JsonElement indexedElement = obj.get("indexed");
128135
JsonElement hiddenElement = obj.get("hidden");
129136
boolean hidden = hiddenElement != null && hiddenElement.getAsBoolean();

0 commit comments

Comments
 (0)