Skip to content

Commit

Permalink
Merge pull request #19 from lsst/tickets/DM-35797
Browse files Browse the repository at this point in the history
DM-35797: Remove CmdLineTask inheritance
  • Loading branch information
timj committed Aug 2, 2022
2 parents 5ad5982 + 18190ce commit 109e6a0
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 5 deletions.
6 changes: 3 additions & 3 deletions python/lsst/cp/verify/mergeResults.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ class CpVerifyExpMergeConfig(pipeBase.PipelineTaskConfig,
)


class CpVerifyExpMergeTask(pipeBase.PipelineTask, pipeBase.CmdLineTask):
class CpVerifyExpMergeTask(pipeBase.PipelineTask):
"""Merge statistics from detectors together.
"""
ConfigClass = CpVerifyExpMergeConfig
Expand Down Expand Up @@ -260,7 +260,7 @@ class CpVerifyRunMergeConfig(pipeBase.PipelineTaskConfig,
)


class CpVerifyRunMergeTask(pipeBase.PipelineTask, pipeBase.CmdLineTask):
class CpVerifyRunMergeTask(pipeBase.PipelineTask):
"""Merge statistics from detectors together.
"""
ConfigClass = CpVerifyRunMergeConfig
Expand Down Expand Up @@ -474,7 +474,7 @@ class CpVerifyCalibMergeConfig(pipeBase.PipelineTaskConfig,
)


class CpVerifyCalibMergeTask(pipeBase.PipelineTask, pipeBase.CmdLineTask):
class CpVerifyCalibMergeTask(pipeBase.PipelineTask):
"""Merge statistics from detectors together.
"""
ConfigClass = CpVerifyCalibMergeConfig
Expand Down
2 changes: 1 addition & 1 deletion python/lsst/cp/verify/verifyCalib.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ class CpVerifyCalibConfig(pipeBase.PipelineTaskConfig,
)


class CpVerifyCalibTask(pipeBase.PipelineTask, pipeBase.CmdLineTask):
class CpVerifyCalibTask(pipeBase.PipelineTask):
"""Main statistic measurement and validation class.
This operates on a generic calibration, and is designed to be
Expand Down
2 changes: 1 addition & 1 deletion python/lsst/cp/verify/verifyStats.py
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ class CpVerifyStatsConfig(pipeBase.PipelineTaskConfig,
)


class CpVerifyStatsTask(pipeBase.PipelineTask, pipeBase.CmdLineTask):
class CpVerifyStatsTask(pipeBase.PipelineTask):
"""Main statistic measurement and validation class.
This operates on a single (exposure, detector) pair, and is
Expand Down
1 change: 1 addition & 0 deletions ups/cp_verify.table
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,6 @@ setupRequired(pex_config)
setupRequired(pex_exceptions)
setupRequired(pipe_tasks)
setupRequired(utils)
setupRequired(pipe_base)

envPrepend(PYTHONPATH, ${PRODUCT_DIR}/python)

0 comments on commit 109e6a0

Please sign in to comment.