Skip to content

Commit 1f9b534

Browse files
committed
Bugfix bigwig tracks
1 parent 4146229 commit 1f9b534

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

jbrowse/src/org/labkey/jbrowse/model/JsonFile.java

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -647,6 +647,9 @@ private JSONObject getBigWigTrack(Logger log, ExpData targetFile, ReferenceGenom
647647
ret.put("assemblyNames", new JSONArray(){{
648648
put(JBrowseSession.getAssemblyName(rg));
649649
}});
650+
ret.put("category", new JSONArray(){{
651+
put(getCategory());
652+
}});
650653

651654
String url = targetFile.getWebDavURL(FileContentService.PathType.full);
652655
if (url == null)
@@ -656,7 +659,7 @@ private JSONObject getBigWigTrack(Logger log, ExpData targetFile, ReferenceGenom
656659
}
657660

658661
ret.put("adapter", new JSONObject(){{
659-
put("type", "BigWig");
662+
put("type", "BigWigAdapter");
660663
put("bigWigLocation", new JSONObject(){{
661664
put("uri", url);
662665
put("locationType", "UriLocation");

0 commit comments

Comments
 (0)