Recent updates changed it so that the AdaptImages were computed and passed to an Analysis object during search chaining pipelines.
However, this meant resuming already completed pipelines is slow, because the adapt images would be computed for each fit even though for fits that are already completed the adapt images are not used.
This PR instead uses an AdaptImageMaker object, which computes the AdaptImages when they are used and then caches them. This means pipelines can be resumed much faster again.
Recent updates changed it so that the
AdaptImages
were computed and passed to anAnalysis
object during search chaining pipelines.However, this meant resuming already completed pipelines is slow, because the adapt images would be computed for each fit even though for fits that are already completed the adapt images are not used.
This PR instead uses an
AdaptImageMaker
object, which computes theAdaptImages
when they are used and then caches them. This means pipelines can be resumed much faster again.