ytree.analysis.analysis_pipeline.AnalysisPipeline.process_target
- AnalysisPipeline.process_target(target, handoff_attrs=None)[source]
Process a node through the AnalysisPipeline.
All operations added to the AnalysisPipeline will be run on the provided target.
- Parameters:
target (
TreeNode) – The node on which to run the analysis pipeline.handoff_attrs (optional, list of strings) – A list of attributes to be handed down from one target to the next. If given, these attributes will be taken from the target object after the pipeline is run and stored internally. They will then be attached to the next target run through the pipeline. This can be used to pass down attributes from one target to the next, for example, to accumulate results or hang onto objects that are expensive to create. Default: None.