Skip to content

Commit

Permalink
Use connections to set photoCal colorterm dict name
Browse files Browse the repository at this point in the history
  • Loading branch information
parejkoj committed Jan 12, 2022
1 parent b78ac07 commit 88f551c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions python/lsst/pipe/tasks/calibrate.py
Original file line number Diff line number Diff line change
Expand Up @@ -314,6 +314,8 @@ def setDefaults(self):
# NOTE: these two lines are for gen2, and are only here for compatibility.
self.astromRefObjLoader.ref_dataset_name = "gaia_dr2_20200414"
self.photoRefObjLoader.ref_dataset_name = "ps1_pv3_3pi_20170110"
# The photoRefCat connection is the name to use for the colorterms.
self.photoCal.photoCatName = self.connections.photoRefCat

def validate(self):
super().validate()
Expand Down

0 comments on commit 88f551c

Please sign in to comment.