diff --git a/src/main/java/sc/fiji/snt/annotation/AllenCompartment.java b/src/main/java/sc/fiji/snt/annotation/AllenCompartment.java index 1cc6c48ae..e9ce6f688 100644 --- a/src/main/java/sc/fiji/snt/annotation/AllenCompartment.java +++ b/src/main/java/sc/fiji/snt/annotation/AllenCompartment.java @@ -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();