Skip to content

Commit

Permalink
Update output_dir for cbrain profile
Browse files Browse the repository at this point in the history
  • Loading branch information
SamGuay authored Sep 10, 2024
1 parent 2fa8858 commit 755347c
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions nextflow.config
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,12 @@ profiles {

cbrain {
process{
publishDir = [path: {"./results_rbx/$sid/$task.process"}, mode: 'copy']
}
if(params.output_dir) {
publishDir = [path: {"$params.output_dir/$sid/$task.process"}, mode: 'copy']
}
else{
publishDir = [path: {"./results_tractometry/$sid/$task.process"}, mode: 'copy']
}
}
}
}

0 comments on commit 755347c

Please sign in to comment.