Skip to content

Commit

Permalink
Remove unused import and fix linelength
Browse files Browse the repository at this point in the history
  • Loading branch information
yalsayyad committed Sep 7, 2018
1 parent 10ea4a0 commit b6aadc1
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions python/lsst/pipe/drivers/multiBandDriver.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
MeasureMergedCoaddSourcesTask,
MergeMeasurementsTask,)
from lsst.ctrl.pool.parallel import BatchPoolTask
from lsst.ctrl.pool.pool import Pool, abortOnError, NODE
from lsst.ctrl.pool.pool import Pool, abortOnError
from lsst.meas.base.references import MultiBandReferencesTask
from lsst.meas.base.forcedPhotCoadd import ForcedPhotCoaddTask
from lsst.pipe.drivers.utils import getDataRef, TractDataIdContainer
Expand Down Expand Up @@ -262,7 +262,8 @@ def runDataRef(self, patchRefList):
for patchRef in patchRefList:
if ("detectCoaddSources" in self.reuse and
patchRef.datasetExists(self.config.coaddName + "Coadd_calexp", write=True)):
self.log.info("Skipping detectCoaddSources for %s; output already exists." % patchRef.dataId)
self.log.info("Skipping detectCoaddSources for %s; output already exists." %
patchRef.dataId)
continue
if not patchRef.datasetExists(self.config.coaddName + "Coadd"):
self.log.debug("Not processing %s; required input %sCoadd missing." %
Expand All @@ -274,7 +275,8 @@ def runDataRef(self, patchRefList):

patchRefList = [patchRef for patchRef in patchRefList if
patchRef.datasetExists(self.config.coaddName + "Coadd_calexp") and
patchRef.datasetExists(self.config.coaddName + "Coadd_det", write=self.config.doDetection)]
patchRef.datasetExists(self.config.coaddName + "Coadd_det",
write=self.config.doDetection)]
dataIdList = [patchRef.dataId for patchRef in patchRefList]

# Group by patch
Expand Down

0 comments on commit b6aadc1

Please sign in to comment.