File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed
src/main/java/org/commonwl/view/workflow Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -277,7 +277,11 @@ public void retryCwltool(QueuedWorkflow queuedWorkflow) {
277
277
queuedWorkflow .setCwltoolStatus (CWLToolStatus .RUNNING );
278
278
queuedWorkflowRepository .save (queuedWorkflow );
279
279
try {
280
- //cwlToolRunner.createWorkflowFromQueued(queuedWorkflow);
280
+ GitDetails gitDetails = queuedWorkflow .getTempRepresentation ().getRetrievedFrom ();
281
+ Git repo = gitService .getRepository (gitDetails );
282
+ File localPath = repo .getRepository ().getWorkTree ();
283
+ Path pathToWorkflowFile = localPath .toPath ().resolve (gitDetails .getPath ()).normalize ().toAbsolutePath ();
284
+ cwlToolRunner .createWorkflowFromQueued (queuedWorkflow , new File (pathToWorkflowFile .toString ()));
281
285
} catch (Exception e ) {
282
286
logger .error ("Could not update workflow with cwltool" , e );
283
287
}
You can’t perform that action at this time.
0 commit comments