Skip to content

Commit 3399b68

Browse files
Gabor Kovacsmrawls
authored andcommitted
Manual documentation and __all__ updates following rebase to master.
See ticket comment on details. Minor style corrections.
1 parent 1023d3d commit 3399b68

17 files changed

+30
-34
lines changed

python/lsst/pipe/tasks/colorterms.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -158,8 +158,10 @@ class ColortermLibrary(Config):
158158
...
159159
}),
160160
"sdss": ColortermDict(data={
161-
'g': Colorterm(primary="g", secondary="r", c0=-0.00816446, c1=-0.08366937, c2=-0.00726883),
162-
'r': Colorterm(primary="r", secondary="i", c0= 0.00231810, c1= 0.01284177, c2=-0.03068248),
161+
'g': Colorterm(primary="g", secondary="r", c0=-0.00816446, c1=-0.08366937,
162+
c2=-0.00726883),
163+
'r': Colorterm(primary="r", secondary="i", c0= 0.00231810, c1= 0.01284177,
164+
c2=-0.03068248),
163165
...
164166
}),
165167
})

python/lsst/pipe/tasks/imageDifference.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,9 @@
4646
FwhmPerSigma = 2 * math.sqrt(2 * math.log(2))
4747
IqrToSigma = 0.741
4848

49-
__all__ = ('ImageDifferenceConfig', 'ImageDifferenceTaskRunner',
50-
'Winter2013ImageDifferenceConfig', 'Winter2013ImageDifferenceTask')
49+
__all__ = ['ImageDifferenceConfig', 'ImageDifferenceTaskRunner',
50+
'Winter2013ImageDifferenceConfig', 'Winter2013ImageDifferenceTask']
51+
5152

5253
class ImageDifferenceConfig(pexConfig.Config):
5354
"""Config for ImageDifferenceTask
@@ -872,6 +873,7 @@ def setDefaults(self):
872873
ImageDifferenceConfig.setDefaults(self)
873874
self.getTemplate.retarget(GetCalexpAsTemplateTask)
874875

876+
875877
class Winter2013ImageDifferenceTask(ImageDifferenceTask):
876878
"""Image difference Task used in the Winter 2013 data challege.
877879
Enables testing the effects of registration shifts and scatter.

python/lsst/pipe/tasks/ingest.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@
1212
from lsst.pipe.base import Task, InputOnlyArgumentParser
1313
from lsst.afw.fits import DEFAULT_HDU
1414

15-
__all__ = ('IngestArgumentParser', 'ParseConfig', 'ParseConfig', 'ParseTask', 'RegisterConfig',
16-
'RegistryContext', 'RegisterTask', 'IngestConfig', 'IngestTask')
15+
__all__ = ['IngestArgumentParser', 'ParseConfig', 'ParseConfig', 'ParseTask', 'RegisterConfig',
16+
'RegistryContext', 'RegisterTask', 'IngestConfig', 'IngestTask']
1717

1818

1919
class IngestArgumentParser(InputOnlyArgumentParser):

python/lsst/pipe/tasks/ingestPgsql.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
except ImportError:
1111
havePgSql = False
1212

13-
__all__ = ('PgsqlRegistryContext', 'PgsqlRegisterTask', 'PgsqlIngestConfig', 'PgsqlIngestTask')
13+
__all__ = ['PgsqlRegistryContext', 'PgsqlRegisterTask', 'PgsqlIngestConfig', 'PgsqlIngestTask']
1414

1515

1616
class PgsqlRegistryContext(RegistryContext):

python/lsst/pipe/tasks/makeDiscreteSkyMap.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
from lsst.skymap import DiscreteSkyMap, BaseSkyMap
3131
from lsst.pipe.base import ArgumentParser
3232

33-
__all__ = ('MakeDiscreteSkyMapConfig', 'MakeDiscreteSkyMapRunner', 'MakeDiscreteSkyMapTask')
33+
__all__ = ['MakeDiscreteSkyMapConfig', 'MakeDiscreteSkyMapRunner', 'MakeDiscreteSkyMapTask']
3434

3535

3636
class MakeDiscreteSkyMapConfig(pexConfig.Config):

python/lsst/pipe/tasks/makeSkyMap.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
import lsst.pipe.base as pipeBase
2828
from lsst.skymap import skyMapRegistry
2929

30-
__all__ = ('MakeSkyMapConfig', 'MakeSkyMapRunner', 'MakeSkyMapTask')
30+
__all__ = ['MakeSkyMapConfig', 'MakeSkyMapRunner', 'MakeSkyMapTask']
3131

3232

3333
class MakeSkyMapConfig(pexConfig.Config):

python/lsst/pipe/tasks/matchBackgrounds.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
import lsst.pipe.base as pipeBase
2727
import lsstDebug
2828

29-
__all__ = ('MatchBackgroundsConfig', 'MatchBackgroundsTask', 'DataRefMatcher')
29+
__all__ = ['MatchBackgroundsConfig', 'MatchBackgroundsTask', 'DataRefMatcher']
3030

3131

3232
class MatchBackgroundsConfig(pexConfig.Config):

python/lsst/pipe/tasks/measurePsf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
import lsst.pex.config as pexConfig
2727
import lsst.pipe.base as pipeBase
2828

29-
__all__ = ('MeasurePsfConfig', 'MeasurePsfTask')
29+
__all__ = ['MeasurePsfConfig', 'MeasurePsfTask']
3030

3131

3232
class MeasurePsfConfig(pexConfig.Config):

python/lsst/pipe/tasks/multiBand.py

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -32,11 +32,10 @@
3232
the mergeDet, meas, and ref dataset Footprints:
3333
- deepCoadd_peak_schema
3434
"""
35-
import numpy
3635

3736
from lsst.coadd.utils.coaddDataIdContainer import ExistingCoaddDataIdContainer
3837
from lsst.pipe.base import (CmdLineTask, Struct, ArgumentParser, ButlerInitializedTaskRunner,
39-
PipelineTask, InitOutputDatasetField, InputDatasetField, OutputDatasetField,
38+
InitOutputDatasetField, InputDatasetField, OutputDatasetField,
4039
QuantumConfig)
4140
from lsst.pex.config import Config, Field, ConfigurableField
4241
from lsst.meas.algorithms import DynamicDetectionTask
@@ -59,11 +58,6 @@
5958
from .multiBandUtils import getInputSchema, getShortFilterName, readCatalog, _makeMakeIdFactory # noqa: F401
6059

6160

62-
63-
64-
65-
##############################################################################################################
66-
6761
class DetectCoaddSourcesConfig(Config):
6862
"""Configuration parameters for the DetectCoaddSourcesTask
6963
"""

python/lsst/pipe/tasks/objectMasks.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
import lsst.afw.table as afwTable
55
from lsst.log import Log
66

7-
__all__ = ('ObjectMaskCatalog',)
7+
__all__ = ['ObjectMaskCatalog', ]
88

99

1010
class ObjectMaskCatalog:

0 commit comments

Comments
 (0)