These are chat archives for nextflow-io/nextflow

3rd
Dec 2018
Maxime HEBRARD
@mhebrard
Dec 03 2018 01:10
Hello there. Is there a directive to specify a disk usage limit for a process ? I Have space limitation and my actual nf failed bcz of lacking of disk space. Would it be possible to specify " if there is less than xxGb on the disk, don't run this process" ... I look at disk directive but there is a note and I am not sure that is what I want
P.S. I run the nf on my local machine, no cloud or cluster config there
Paolo Di Tommaso
@pditommaso
Dec 03 2018 11:43
it's supposed to be disk, but does not work for local executor
micans
@micans
Dec 03 2018 12:54
I'm wondering if/when to use def in nxf. It affects both scope and type; in terms of scope it seems to make the scope globally visible in the script.
Paolo Di Tommaso
@pditommaso
Dec 03 2018 14:42
you should use def for local variables (i.e. custom functions, closure, etc)
micans
@micans
Dec 03 2018 16:24
Thanks, I realise now that there may have been some conflict. Will run some tests on my memory banks.
Paolo Di Tommaso
@pditommaso
Dec 03 2018 20:07