Skip to content

Commit

Permalink
Update configs
Browse files Browse the repository at this point in the history
  • Loading branch information
sr525 committed Oct 21, 2021
1 parent 7f63f01 commit f6225f8
Showing 1 changed file with 4 additions and 10 deletions.
14 changes: 4 additions & 10 deletions python/lsst/pipe/tasks/processCcdWithFakes.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ class ProcessCcdWithFakesConnections(PipelineTaskConnections,
doc="Calib information for the input exposure.",
name="{photoCalibName}_photoCalib",
storageClass="PhotoCalib",
dimensions=("instrument", "visit", "detector")
dimensions=("instrument", "visit", "detector", "tract", "skymap")
)

externalPhotoCalibTractCatalog = cT.Input(
Expand Down Expand Up @@ -148,20 +148,14 @@ def __init__(self, *, config=None):

if not config.doApplyExternalGlobalPhotoCalib:
self.inputs.remove("externalPhotoCalibGlobalCatalog")
elif not config.doApplyExternalTractPhotoCalib:
self.inputs.remove("externalPhotoCalibTractCatalog")
else:
self.inputs.remove("externalPhotoCalibGlobalCatalog")
if not config.doApplyExternalTractPhotoCalib:
self.inputs.remove("externalPhotoCalibTractCatalog")

if not config.doApplyExternalGlobalSkyWcs:
self.inputs.remove("externalSkyWcsGlobalCatalog")
elif not config.doApplyExternalTractSkyWcs:
if not config.doApplyExternalTractSkyWcs:
self.inputs.remove("externalSkyWcsTractCatalog")
else:
self.inputs.remove("externalSkyWcsGlobalCatalog")
self.inputs.remove("externalTractSkyWcsTractCatalog")

print(self.inputs)

class ProcessCcdWithFakesConfig(PipelineTaskConfig,
pipelineConnections=ProcessCcdWithFakesConnections):
Expand Down

0 comments on commit f6225f8

Please sign in to comment.