Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DM-46312: Migrate unit tests to ComCamSim data #199

Merged
merged 5 commits into from
Sep 16, 2024
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
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
49 changes: 0 additions & 49 deletions python/dummyTask.py

This file was deleted.

20 changes: 2 additions & 18 deletions tests/data/ApPipe.yaml
Original file line number Diff line number Diff line change
@@ -1,27 +1,11 @@
description: End to end Alert Production pipeline specialized for HiTS-2015
#
# This file was copied from ap_verify_ci_hits2015/pipelines/ApPipe.yaml
# with two modifications: (1) doSolarSystemAssociation is disabled, and
# (2) the calibrateImage.py file from this package is used. The
# calibrateImage.py file was copied from ap_verify_ci_hits2015 too.
description: Test version of the main AP pipeline

imports:
- location: $AP_PIPE_DIR/pipelines/DECam/ApPipe.yaml
- location: $PROMPT_PROCESSING_DIR/pipelines/LSSTComCamSim/ApPipe.yaml
parameters:
# Use dataset's specific templates
coaddName: goodSeeing
tasks:
isr:
class: lsst.ip.isr.IsrTask
config:
# This dataset contains CP calibs, not regular ones
connections.bias: cpBias
connections.flat: cpFlat
calibrateImage:
class: lsst.pipe.tasks.calibrateImage.CalibrateImageTask
config:
# Use dataset's reference catalogs
file: $PROMPT_PROCESSING_DIR/tests/data/calibrateImage.py
diaPipe:
class: lsst.ap.association.DiaPipelineTask
config:
Expand Down
10 changes: 6 additions & 4 deletions tests/data/MinPrep.yaml
Original file line number Diff line number Diff line change
@@ -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
10 changes: 6 additions & 4 deletions tests/data/NoPrep.yaml
Original file line number Diff line number Diff line change
@@ -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
8 changes: 4 additions & 4 deletions tests/data/Preprocess.yaml
Original file line number Diff line number Diff line change
@@ -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
3 changes: 1 addition & 2 deletions tests/data/SingleFrame.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,4 @@ imports:
- location: $PROMPT_PROCESSING_DIR/tests/data/ApPipe.yaml
include:
- isr
- characterizeImage
- calibrate
- calibrateImage
15 changes: 0 additions & 15 deletions tests/data/calibrateImage.py

This file was deleted.

Loading
Loading