Skip to content

Commit

Permalink
analysis: uncomment job update, #TASK-6445
Browse files Browse the repository at this point in the history
  • Loading branch information
pfurio committed Sep 30, 2024
1 parent 97c0206 commit c15799b
Showing 1 changed file with 1 addition and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ protected void check() throws Exception {
if (CollectionUtils.isNotEmpty(workflow.getTags())) {
tags.addAll(workflow.getTags());
}
// updateJobInformation(new ArrayList<>(tags), toolInfoExecutor);
updateJobInformation(new ArrayList<>(tags), toolInfoExecutor);

this.inputBindings = new LinkedList<>();
if (MapUtils.isNotEmpty(nextflowParams.getParams())) {
Expand Down Expand Up @@ -189,7 +189,6 @@ protected void run() throws Exception {
// Build output binding
AbstractMap.SimpleEntry<String, String> outputBinding = new AbstractMap.SimpleEntry<>(outDirPath, outDirPath);

// String dockerImage = "nextflow/nextflow:" + workflow.getManager().getVersion();
String dockerImage = "opencb/opencga-workflow";
StringBuilder stringBuilder = new StringBuilder()
.append("bash -c \"NXF_VER=").append(workflow.getManager().getVersion()).append(" nextflow -c ").append(nextflowConfigPath).append(" run ");
Expand All @@ -211,10 +210,6 @@ protected void run() throws Exception {
stringBuilder.append(" ").append(cliParams);
}
stringBuilder.append(" -with-report ").append(outDirPath).append("/report.html\"");
// // And give ownership permissions to the user running this process
// stringBuilder.append("; chown -R ")
// .append(UserProcessUtils.getUserUid()).append(":").append(UserProcessUtils.getGroupId()).append(" ").append(outputDir)
// .append("\"");

startTraceFileMonitor();

Expand Down

0 comments on commit c15799b

Please sign in to comment.