Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DM-2639: {{Standardize primary method names, run/runDataRef, across PipeTasks}} #28

Merged
merged 1 commit into from Aug 3, 2018

Conversation

czwa
Copy link
Contributor

@czwa czwa commented Jul 26, 2018

Rename methods according to RFC-352.
ParseAndRun now calls runDataRef

@@ -188,7 +188,7 @@ def run(self, rawRef, templateIds=None, reuse=None):
- l1Database : handle for accessing the final association database, conforming to
`ap_association`'s DB access API
- ccdProcessor : output of `config.ccdProcessor.run` (`lsst.pipe.base.Struct` or `None`).
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should be runDataRef?

Prepare Tasks for Gen3 PipelineTask conversion by:
* Renaming CmdlineTask's entry method to `runDataRef`.  The default
  CmdlineTask.TaskRunner now calls a Task's `runDataRef` method on the
  parsed command line inputs.
  `runDataRef` method can take any Gen2 Butler data products.
* Renaming CmdlineTasks previous core methods (e.g. assemble,
  characterize) to `run` when they exist.
@czwa czwa merged commit 1fba27d into master Aug 3, 2018
@kfindeisen kfindeisen deleted the tickets/DM-2639 branch April 13, 2022 21:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants