getInitInputs

lsst.pipe.base.testUtils.getInitInputs(butler, config)

Return the initInputs object that would have been passed to a PipelineTask constructor.

Parameters:
butler : lsst.daf.butler.Butler

The repository to search for input datasets. Must have pre-configured collections.

config : lsst.pipe.base.PipelineTaskConfig

The config for the task to be constructed.

Returns:
initInputs : dict [str]

A dictionary of objects in the format of the initInputs parameter to lsst.pipe.base.PipelineTask.