Skip to content

Commit

Permalink
Fixing DECam ApVerifyWithFakes to use new source injection
Browse files Browse the repository at this point in the history
  • Loading branch information
BrunoSanchez committed May 15, 2024
1 parent 5083c5e commit 619b4e9
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 3 deletions.
1 change: 1 addition & 0 deletions pipelines/DECam/ApVerifyWithFakes.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ imports:
# The existing Fakes insertion system is not currently compatible with the
# new CalibrateImageTask, so the fakes pipeline still is on the old tasks.
- location: $AP_PIPE_DIR/pipelines/DECam/ProcessCcdCalibrate.yaml
# - location: $AP_PIPE_DIR/pipelines/DECam/ProcessCcd.yaml
# Can't use $AP_PIPE_DIR/pipelines/DECam/ApPipeWithFakes.yaml here
# because the changes made by that file and _ingredients/ApVerifyWithFakes.yaml
# are hard to separate.
14 changes: 11 additions & 3 deletions pipelines/_ingredients/ApVerifyWithFakes.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,17 @@ tasks:
contracts:
# Metric inputs must match pipeline outputs
# Use of ConnectionsClass for templated fields is a workaround for DM-30210
- fakesMatch.connections.ConnectionsClass(config=fakesMatch).matchedDiaSources.name ==
- injectedMatch.connections.ConnectionsClass(config=injectedMatch).matchedDiaSources.name ==
apFakesCompletenessMag20t22.connections.ConnectionsClass(config=apFakesCompletenessMag20t22).matchedFakes.name
- fakesMatch.connections.ConnectionsClass(config=fakesMatch).matchedDiaSources.name ==
- injectedMatch.connections.ConnectionsClass(config=injectedMatch).matchedDiaSources.name ==
apFakesCompletenessMag22t24.connections.ConnectionsClass(config=apFakesCompletenessMag22t24).matchedFakes.name
- fakesMatch.connections.ConnectionsClass(config=fakesMatch).matchedDiaSources.name ==
- injectedMatch.connections.ConnectionsClass(config=injectedMatch).matchedDiaSources.name ==
apFakesCompletenessMag24t26.connections.ConnectionsClass(config=apFakesCompletenessMag24t26).matchedFakes.name
- injectedMatch.connections.ConnectionsClass(config=injectedMatch).matchedDiaSources.name ==
apFakesCountMag20t22.connections.ConnectionsClass(config=apFakesCountMag20t22).matchedFakes.name
- injectedMatch.connections.ConnectionsClass(config=injectedMatch).matchedDiaSources.name ==
apFakesCountMag22t24.connections.ConnectionsClass(config=apFakesCountMag22t24).matchedFakes.name
- injectedMatch.connections.ConnectionsClass(config=injectedMatch).matchedDiaSources.name ==
apFakesCountMag24t26.connections.ConnectionsClass(config=apFakesCountMag24t26).matchedFakes.name
- injectedMatch.connections.ConnectionsClass(config=injectedMatch).matchedDiaSources.name ==
apFakesCount.connections.ConnectionsClass(config=apFakesCount).matchedFakes.name

0 comments on commit 619b4e9

Please sign in to comment.