cached_pout¶
- bigmultipipe.cached_pout(pipe_code, poutname=None, read_pout=False, write_pout=False, create_outdir=False, **kwargs)[source]¶
Write/read
BigMultiPipe.pipeline()
metadata output (“pout”) to/from a file usingpickle
- Parameters
- pipe_codefunction
Function that executes
bigmultipipe
pipeline ifread_pout
isFalse
orpoutname
cannot be read. Must return pipeline metadata output (“pout”)- poutnamestr
Filename to be read/written
- read_poutbool
- write_poutbool
- create_outdirbool, optional
If
True
, create any needed parent directories into which poutname is to be saved. This parameter is passed along to pipe_code because it need not write the pipeline output files to the same directory as poutname Default isFalse
- **kwargskeyword arguments to pass to
pipe_code
- Returns
- poutdict
Pipeline metadata output