Charles Plessy
05/14/2025, 8:30 AMlast/mafconvert) that does some file format conversion, and I want it to not publish its files if one given parameter (--cram) is set (because I am going to post-process them in another module that will then publish its output, and they are big). Concretely, I am doing this:
withname: 'LAST_MAFCONVERT' {
if (params.cram) {
publishDir = { publishDir + [ saveAs: null ] }
}
}
However, I still see the files being output. ChatGPT did not manage to help me, so I am asking here…James Fellows Yates
05/14/2025, 8:48 AMJames Fellows Yates
05/14/2025, 8:48 AMenabled and saveAs attribute:James Fellows Yates
05/14/2025, 8:48 AM