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-37635: Cleanup analysis_tools to fix pipelines docs build failure #62

Merged
merged 2 commits into from Jan 25, 2023

Conversation

parejkoj
Copy link
Contributor

No description provided.

@parejkoj parejkoj requested a review from ktlim January 24, 2023 20:23
python/lsst/analysis/tools/tasks/ccdVisitTableAnalysis.py Outdated Show resolved Hide resolved
@@ -31,6 +31,8 @@
connection classes and should specify a unique name
"""

__all__ = ("AnalysisBaseConfig", "AnalysisPipelineTask")
Copy link
Contributor

Choose a reason for hiding this comment

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

Is AnalysisBaseConnections needed as well? See diaObjectTableAssocAnalysis.py and others.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I've generally assumed that Connections classes should not be part of the public API, since you never need to import them as far as I'm aware. Configs do get imported and modified. I've asked on #dm-science-pipelines about this.

I converted lists to tuples, moved them to the top of the files (just under any
__future__ statements), and made sure they had Task/Config in those files.
We have some type definitions that we want in the docs, too.
@parejkoj parejkoj merged commit f98369d into main Jan 25, 2023
@parejkoj parejkoj deleted the tickets/DM-37635 branch January 25, 2023 16:46
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