Skip to content

Commit

Permalink
Add running of gainFromFlatPairs subset.
Browse files Browse the repository at this point in the history
  • Loading branch information
erykoff committed Sep 23, 2024
1 parent ecacf29 commit fc80b56
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion DATA/SConscript
Original file line number Diff line number Diff line change
Expand Up @@ -480,11 +480,25 @@ if LEGACY_MODE == 0:
)
env.Alias("ptc", ptc)

# Gain from flat pairs
# TODO DM-46448: Right now this just runs the task, but it should be verified
# or updated properly on this ticket.
gainFromFlatPairs = env.Command(
[
os.path.join(REPO_ROOT, "ci_cpp_gainFromFlatPairs"),
],
[ptc],
[
getPipeTaskCmd("gainFromFlatPairs", exposureDict["ptcExposurePairs"], "cpPtc.yaml#cpPtcGainFromFlatPairs"),
],
)
env.Alias("gainFromFlatPairs", gainFromFlatPairs)

bfk = env.Command(
[
os.path.join(REPO_ROOT, "ci_cpp_bfk"),
os.path.join(REPO_ROOT, "calib", "v00", "bfk")],
[ptc],
[gainFromFlatPairs],
[
getPipeTaskCmd("bfk", exposureDict["ptcExposurePairs"], "cpBfk.yaml"),
getCertifyCmd("bfk"),
Expand Down Expand Up @@ -588,6 +602,7 @@ if LEGACY_MODE == 0:
env.Depends(utils.targets["tests"], os.path.join(REPO_ROOT, "ci_cpp_defects"))
env.Depends(utils.targets["tests"], os.path.join(REPO_ROOT, "ci_cpp_linearizer"))
env.Depends(utils.targets["tests"], os.path.join(REPO_ROOT, "ci_cpp_ptc"))
env.Depends(utils.targets["tests"], os.path.join(REPO_ROOT, "ci_cpp_gainFromFlatPairs"))
env.Depends(utils.targets["tests"], os.path.join(REPO_ROOT, "ci_cpp_bfk"))
env.Depends(utils.targets["tests"], os.path.join(REPO_ROOT, "ci_cpp_bias"))
env.Depends(utils.targets["tests"], os.path.join(REPO_ROOT, "ci_cpp_dark"))
Expand All @@ -604,6 +619,7 @@ if LEGACY_MODE == 0:
defects,
linearizer,
ptc,
gainFromFlatPairs,
bfk,
bias,
dark,
Expand Down

0 comments on commit fc80b56

Please sign in to comment.