Skip to content

Commit

Permalink
allow intermediate outputs
Browse files Browse the repository at this point in the history
  • Loading branch information
carlosuc3m committed Dec 4, 2024
1 parent 3e57737 commit 3e41440
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>org.scijava</groupId>
<artifactId>pom-scijava</artifactId>
<version>37.0.0</version>
<version>39.0.0</version>
<relativePath />
</parent>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -340,7 +340,6 @@ private void handle(Map<String, Object> response) {
return;
}
ResponseType responseType = ResponseType.valueOf(maybeResponseType);

switch (responseType) {
case LAUNCH:
status = TaskStatus.RUNNING;
Expand All @@ -351,6 +350,9 @@ private void handle(Map<String, Object> response) {
Number maximum = (Number) response.get("maximum");
if (current != null) this.current = current.longValue();
if (maximum != null) this.maximum = maximum.longValue();
@SuppressWarnings({ "rawtypes", "unchecked" })
Map<String, Object> outputsUpdate = (Map) response.get("outputs");
if (outputsUpdate != null) mOutputs.putAll(outputsUpdate);
break;
case COMPLETION:
tasks.remove(uuid);
Expand Down

0 comments on commit 3e41440

Please sign in to comment.