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-29147: Switch from using mapApData to new pipeline task and functors. #75

Merged
merged 2 commits into from May 1, 2021

Conversation

morriscb
Copy link
Contributor

Debug ApPipe use of transformDiaSourceCat.

Debug ApPipe use of transformDiaSourceCat.
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.

Please fix the Dm in the PR title to DM.

Some wording comments.

transformDiaSrcCat = pexConfig.ConfigurableField(
target=TransformDiaSourceCatalogTask,
doc="Task for converting and calibrating the AfwTable of DiaSources "
"to DataFrame for use in Association."
Copy link
Contributor

Choose a reason for hiding this comment

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

Rewording this: for "AfwTable", I think "afw SourceCatalog" would be a better name ("AfwTable" isn't a thing). And I think by "DataFrame" you mean "a Pandas DataFrame"?

@@ -111,9 +111,11 @@ def mockPatchSubtasks(self, task):
"""
with patch.object(task, "ccdProcessor") as mockCcdProcessor, \
patch.object(task, "differencer") as mockDifferencer, \
patch.object(task, "transformDiaSrcCat") as mockTransForm, \
Copy link
Contributor

Choose a reason for hiding this comment

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

This is strange capitalization. Shouldn't it be mockTransform (and below)?

@morriscb morriscb changed the title Dm-29147: Switch from using mapApData to new pipeline task and functors. DM-29147: Switch from using mapApData to new pipeline task and functors. Apr 30, 2021
Fix syntax error.

Fixup minor wording problems.

Fix linting.
@morriscb morriscb merged commit c4d68c1 into master May 1, 2021
@morriscb morriscb deleted the tickets/DM-29147 branch May 1, 2021 04:19
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