Skip to content

Commit

Permalink
analysis: fix ToolRunner to get proper toolId, #TASK-6445
Browse files Browse the repository at this point in the history
  • Loading branch information
pfurio committed Nov 13, 2024
1 parent d0d8346 commit 18bb5fe
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,8 @@ public ExecutionResult execute(Job job, String token) throws CatalogException, T
* @throws ToolException if the execution fails
*/
public ExecutionResult execute(Job job, Path outDir, String token) throws CatalogException, ToolException {
return execute(job.getTool().getId(), new ObjectMap(job.getParams()), outDir, job.getId(), job.isDryRun(), token);
String toolId = ToolFactory.getToolId(job.getType(), job.getTool());
return execute(toolId, new ObjectMap(job.getParams()), outDir, job.getId(), job.isDryRun(), token);
}

/**
Expand Down

0 comments on commit 18bb5fe

Please sign in to comment.