From 11355f9cf70c09d404a9deeccb004cfd4592b889 Mon Sep 17 00:00:00 2001 From: carlosuc3m <100329787@alumnos.uc3m.es> Date: Tue, 15 Oct 2024 17:42:36 +0200 Subject: [PATCH] fix stupid bug --- .../java/io/bioimage/modelrunner/bioimageio/BioimageioRepo.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/io/bioimage/modelrunner/bioimageio/BioimageioRepo.java b/src/main/java/io/bioimage/modelrunner/bioimageio/BioimageioRepo.java index 6482dc38..6bd12c6c 100644 --- a/src/main/java/io/bioimage/modelrunner/bioimageio/BioimageioRepo.java +++ b/src/main/java/io/bioimage/modelrunner/bioimageio/BioimageioRepo.java @@ -646,7 +646,7 @@ public static String getModelURL(String id) { public static String getModelRdfUrl(String id, String version) { - if (MODELS_INFO == null || MODELS_INFO.get("id") == null) { + if (MODELS_INFO == null || MODELS_INFO.get(id) == null) { BioimageioRepo.connect(); }