Skip to content

Commit

Permalink
fix filter_on_prev_input regression due to previous commit
Browse files Browse the repository at this point in the history
because: did not take into account output directory
  • Loading branch information
ssadedin committed Feb 25, 2024
1 parent 673d448 commit 9e5739f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/groovy/bpipe/PipelineContext.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -1697,7 +1697,7 @@ class PipelineContext {
probeResolvedInputs.eachWithIndex { PipelineFile inpFile, int i ->
PipelineFile retx = retransformed[i]
if(retx != null) {
if(!origOutputPaths.contains(retx.path) && this.allInferredOutputs.contains(retx.path)) {
if(!origOutputPaths.contains(retx.path) && this.allInferredOutputs.any { new File(it).name == retx.name }) {
List<PipelineFile> newNames = toOutputFolder(retransformed[i])
String newPath = newNames[0].toString()
logger.info "Replace output ${fixedOutputs[i]} => $newPath after probe due to alternative input reference with filter"
Expand Down

0 comments on commit 9e5739f

Please sign in to comment.