Skip to content

Commit

Permalink
Update paths
Browse files Browse the repository at this point in the history
  • Loading branch information
tferr committed May 5, 2021
1 parent bed052c commit 35f356c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/sc/fiji/snt/annotation/AllenCompartment.java
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,7 @@ public OBJMesh getMesh() {
final String file = jsonObj.getString("geometryFile");
if (file == null || !file.endsWith(".obj")) return null;
try {
final String urlPath = "https://ml-neuronbrowser.janelia.org/static/allen/obj/" + file;
final String urlPath = "https://ml-neuronbrowser.janelia.org/static/allen/obj/" + id() + ".obj"; // TODO: update geometryFile fields
final OkHttpClient client = new OkHttpClient();
final Request request = new Request.Builder().url(urlPath).build();
final Response response = client.newCall(request).execute();
Expand Down

0 comments on commit 35f356c

Please sign in to comment.