prune_pout

bigmultipipe.prune_pout(pout, in_names)[source]

Removes entries marked for deletion in a BigMultiPipe.pipeline() output

To mark an entry for deletion, outfname must be None and meta must be {}

Parameters
poutlist of tuples (str or None, dict)

Output of a BigMultiPipe.pipeline() run. The str are pipeline output filenames, the dict is the output metadata.

in_nameslist of str

Input file names to a BigMultiPipe.pipeline() run. There will be one pout for each in_name

Returns
(pruned_pout, pruned_in_names)list of tuples (str, dict)

Pruned output with the None output filenames removed in both the pout and in_name lists.