Skip to content

Commit

Permalink
depend on newest version
Browse files Browse the repository at this point in the history
  • Loading branch information
carlosuc3m committed Dec 2, 2024
1 parent 9936be3 commit b84afa1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@

<!-- NB: Deploy releases to the SciJava Maven repository. -->
<releaseProfiles>sign,deploy-to-scijava</releaseProfiles>
<dl-modelrunner.version>0.5.10</dl-modelrunner.version>
<dl-modelrunner.version>0.5.11-SNAPSHOT</dl-modelrunner.version>
</properties>

<dependencies>
Expand Down
5 changes: 4 additions & 1 deletion src/main/java/ai/nets/samj/gui/MainGUI.java
Original file line number Diff line number Diff line change
Expand Up @@ -467,7 +467,10 @@ private < T extends RealType< T > & NativeType< T > > void batchSAMize() throws
rai = this.consumer.getFocusedImageAsRai();
List<int[]> pointPrompts = this.consumer.getPointRoisOnFocusImage();
List<Rectangle> rectPrompts = this.consumer.getRectRoisOnFocusImage();
if (pointPrompts.size() == 0 && rectPrompts.size() == 0 && !(rai.getType() instanceof IntegerType)){
if (pointPrompts.size() == 0 && rectPrompts.size() == 0 && rai == null){
// TODO add label that is displayed when there are no prompts selected
return;
} else if (pointPrompts.size() == 0 && rectPrompts.size() == 0 && !(rai.getType() instanceof IntegerType)){
// TODO add label that is displayed when there are no prompts selected
return;
}
Expand Down

0 comments on commit b84afa1

Please sign in to comment.