Always propagate profile
to individual pipelines' stages when instantiating a DistributionMaker
or Detectors
instance
#815
Labels
Documenting before making a PR....
DistributionMaker
is created from an instanstiatedPipeline
,profile
is silently ignored. Instead, we should enforcepipeline.profile = profile
(belowpisa/pisa/core/distribution_maker.py
Line 106 in 70f7153
else: pipeline.profile = profile
)profile
when constructing aDetectors
instance:pisa/pisa/core/detectors.py
Line 84 in 70f7153
Also, it would be convenient for both
DistributionMaker
andDetectors
to also have areport_profile
method, allowing us to profile all included pipelines at once. This would just iterate overpipelines
(and print each name) respectivelydistribution_makers
(same) and call the associatedreport_profile
.The text was updated successfully, but these errors were encountered: