From 4840b348668053453dd60895d39d3562a6cf2ed2 Mon Sep 17 00:00:00 2001 From: carlosuc3m <100329787@alumnos.uc3m.es> Date: Mon, 20 Jan 2025 15:30:39 +0100 Subject: [PATCH] return whether a mdoel is loaded or not --- .../bioimage/modelrunner/model/stardist/StardistAbstract.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/main/java/io/bioimage/modelrunner/model/stardist/StardistAbstract.java b/src/main/java/io/bioimage/modelrunner/model/stardist/StardistAbstract.java index 092c3659..f380cf6c 100644 --- a/src/main/java/io/bioimage/modelrunner/model/stardist/StardistAbstract.java +++ b/src/main/java/io/bioimage/modelrunner/model/stardist/StardistAbstract.java @@ -234,6 +234,10 @@ protected String createEncodeImageScript() { return code; } + public boolean isLoaded() { + return loaded; + } + public void close() { if (!loaded) return;