diff --git a/python/dummyTask.py b/python/dummyTask.py deleted file mode 100644 index 8d7c4952..00000000 --- a/python/dummyTask.py +++ /dev/null @@ -1,49 +0,0 @@ -# This file is part of prompt_processing. -# -# Developed for the LSST Data Management System. -# This product includes software developed by the LSST Project -# (https://www.lsst.org). -# See the COPYRIGHT file at the top-level directory of this distribution -# for details of code ownership. -# -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . - - -__all__ = ["DummyTask"] - - -import lsst.pipe.base as pipe_base - - -class DummyConnections(pipe_base.PipelineTaskConnections, - dimensions={"instrument", "group", "detector"}, - ): - # Emulate actual input for PreloadApdbTask - input = pipe_base.connectionTypes.Input( - doc="The (possibly predicted) region and time associated with this group.", - name="regionTimeInfo", - storageClass="RegionTimeInfo", - dimensions={"instrument", "group", "detector"}, - ) - - -class DummyConfig(pipe_base.PipelineTaskConfig, pipelineConnections=DummyConnections): - pass - - -# TODO: This class is a test placeholder until real tasks can be implemented. -# Remove this file after DM-31833 or DM-42576. -class DummyTask(pipe_base.PipelineTask): - _DefaultName = "dummy" - ConfigClass = DummyConfig diff --git a/tests/data/ApPipe.yaml b/tests/data/ApPipe.yaml index e584e69f..2c2453b2 100644 --- a/tests/data/ApPipe.yaml +++ b/tests/data/ApPipe.yaml @@ -1,7 +1,7 @@ -description: Test version of the full AP pipeline +description: Test version of the main AP pipeline imports: - - location: $AP_PIPE_DIR/pipelines/LSSTComCamSim/ApPipe.yaml + - location: $PROMPT_PROCESSING_DIR/pipelines/LSSTComCamSim/ApPipe.yaml parameters: # Use dataset's specific templates coaddName: goodSeeing diff --git a/tests/data/MinPrep.yaml b/tests/data/MinPrep.yaml index 2ad9b247..9daa0664 100644 --- a/tests/data/MinPrep.yaml +++ b/tests/data/MinPrep.yaml @@ -1,4 +1,6 @@ -description: A preprocessing pipeline for testing. Must generate quantum graph, but no tasks actually run. -tasks: - # TODO: replace after DM-31833 or DM-42576 - dummy: dummyTask.DummyTask +description: Test pipeline consisting only of APDB preload + +imports: + - location: $PROMPT_PROCESSING_DIR/tests/data/Preprocess.yaml + include: + - loadDiaCatalogs diff --git a/tests/data/NoPrep.yaml b/tests/data/NoPrep.yaml index 2ad9b247..9daa0664 100644 --- a/tests/data/NoPrep.yaml +++ b/tests/data/NoPrep.yaml @@ -1,4 +1,6 @@ -description: A preprocessing pipeline for testing. Must generate quantum graph, but no tasks actually run. -tasks: - # TODO: replace after DM-31833 or DM-42576 - dummy: dummyTask.DummyTask +description: Test pipeline consisting only of APDB preload + +imports: + - location: $PROMPT_PROCESSING_DIR/tests/data/Preprocess.yaml + include: + - loadDiaCatalogs diff --git a/tests/data/Preprocess.yaml b/tests/data/Preprocess.yaml index 2ad9b247..59b30808 100644 --- a/tests/data/Preprocess.yaml +++ b/tests/data/Preprocess.yaml @@ -1,4 +1,4 @@ -description: A preprocessing pipeline for testing. Must generate quantum graph, but no tasks actually run. -tasks: - # TODO: replace after DM-31833 or DM-42576 - dummy: dummyTask.DummyTask +description: Test version of the preprocessing pipeline + +imports: + - location: $PROMPT_PROCESSING_DIR/pipelines/LSSTComCamSim/Preprocessing.yaml