Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions pipelines/LATISS/ApPipe-noForced.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
description: >-
Alert Production pipeline specialized for LATISS,
with forced source handling turned off

# This file serves as an "emergency shutdown" for a known issue in the DIA
# processing task. It is not intended for general use, and unlike ApPipe proper
# will not be synced to the ap_pipe package.
imports:
- location: $PROMPT_PROCESSING_DIR/pipelines/LATISS/ApPipe.yaml
tasks:
diaPipe:
class: lsst.ap.association.DiaPipelineTask
config:
doLoadForcedSources: false # see DM-43394
doRunForcedMeasurement: false # see DM-43402
15 changes: 15 additions & 0 deletions pipelines/LSSTComCamSim/ApPipe-noForced.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
description: >-
Alert Production pipeline specialized for LSSTComCamSim,
with forced source handling turned off

# This file serves as an "emergency shutdown" for a known issue in the DIA
# processing task. It is not intended for general use, and unlike ApPipe proper
# will not be synced to the ap_pipe package.
imports:
- location: $PROMPT_PROCESSING_DIR/pipelines/LSSTComCamSim/ApPipe.yaml
tasks:
diaPipe:
class: lsst.ap.association.DiaPipelineTask
config:
doLoadForcedSources: false # see DM-43389
doRunForcedMeasurement: false # see DM-43402
10 changes: 7 additions & 3 deletions python/activator/middleware_interface.py
Original file line number Diff line number Diff line change
Expand Up @@ -1044,7 +1044,7 @@ def run_pipeline(self, exposure_ids: set[int]) -> None:
task_factory=factory,
)
try:
with lsst.utils.timer.time_this(_log, msg="make_quantum_graph", level=logging.DEBUG):
with lsst.utils.timer.time_this(_log, msg="executor.make_quantum_graph", level=logging.DEBUG):
qgraph = executor.make_quantum_graph(pipeline, where=where)
except MissingDatasetTypeError as e:
_log.error(f"Building quantum graph for {pipeline_file} failed ", exc_info=e)
Expand All @@ -1063,8 +1063,12 @@ def run_pipeline(self, exposure_ids: set[int]) -> None:
executor.pre_execute_qgraph(qgraph, register_dataset_types=True, save_init_outputs=True)
_log.info(f"Running '{pipeline._pipelineIR.description}' on {where}")
try:
executor.run_pipeline(qgraph, graph_executor=self._get_graph_executor(exec_butler, factory))
_log.info("Pipeline successfully run.")
with lsst.utils.timer.time_this(_log, msg="executor.run_pipeline", level=logging.DEBUG):
executor.run_pipeline(
qgraph,
graph_executor=self._get_graph_executor(exec_butler, factory)
)
_log.info("Pipeline successfully run.")
except Exception as e:
state_changed = True # better safe than sorry
try:
Expand Down