Skip to content

Commit

Permalink
First pass at fixing the publish path issue.
Browse files Browse the repository at this point in the history
This is quick and dirty, and I've noticed the inclusion of a "/./" in the prefix when publishing to blob storage, which will have to be fixed.
  • Loading branch information
robsyme committed Dec 11, 2024
1 parent b23e42c commit 95203a8
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ import groovy.json.JsonOutput
import groovy.transform.CompileStatic
import groovy.util.logging.Slf4j
import groovyx.gpars.dataflow.DataflowReadChannel
import nextflow.file.FileHelper
import nextflow.Global
import nextflow.Session
import nextflow.processor.PublishDir
Expand Down Expand Up @@ -76,7 +77,7 @@ class PublishOp {

// evaluate dynamic path
final path = pathAs != null
? pathAs.call(value)
? targetDir.resolve(pathAs.call(value) as String)
: targetDir
if( path == null )
return
Expand Down

0 comments on commit 95203a8

Please sign in to comment.