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-23616: Run converted ap_verify testdata through gen3 pipeline #123

Merged
merged 3 commits into from Mar 26, 2020

Conversation

kfindeisen
Copy link
Member

This PR fixes bugs and missing features in the PipelineTask test framework (pipe.base.testUtils) in response to trying to apply it to CalibrateTask on lsst/pipe_tasks#362.

Copy link
Contributor

@parejkoj parejkoj left a comment

Choose a reason for hiding this comment

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

One comment about a clarifying comment, otherwise this looks good.

datasetType = connection.makeDatasetType(universe)

# copied from TaskDatasetTypes.fromTaskDef
if "skypix" in connection.dimensions:
Copy link
Contributor

Choose a reason for hiding this comment

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

A short explanation as to why this specialization is necessary would be useful.

Because handling skypix requires access to a Butler registry, it
needs to be done outside of `DimensionedConnection.makeDatasetType`.
While for most testing purposes a Quantum need only have data IDs
for its inputs and outputs, some tasks try to parse the ID of the
quantum itself.
@kfindeisen kfindeisen merged commit 557baf8 into master Mar 26, 2020
@kfindeisen kfindeisen deleted the tickets/DM-23616 branch March 26, 2020 20:20
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

2 participants