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-35917: Allow gen3 SkyCorrectionTask to be imported without gen2 #103

Merged
merged 1 commit into from Aug 25, 2022

Conversation

timj
Copy link
Member

@timj timj commented Aug 23, 2022

Gen2 classes will be loaded if available.

Gen2 classes will be loaded if available.
Copy link

@andy-slac andy-slac left a comment

Choose a reason for hiding this comment

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

Looks good. Not quite clear what happens if someone tries to run these tasks in gen3, will they crash or those patched code paths are not even touched by gen3 (can they be removed altogether)?

@timj
Copy link
Member Author

timj commented Aug 24, 2022

Should work fine in gen3. All the Pool stuff is gen2 only and is completely broken. I don't want to completely delete all the gen2 code from pipe_drivers because there wouldn't be much left and it serves no purpose because pipe_drivers is fundamentally a gen2 package that ended up with some gen3 code in it by mistake. Ideally I would remove pipe_drivers from lsst_distrib (removing ctrl_pool and daf_persistence) but we can't do that because of the gen3 SkyCorrectionTask in there and its deprecation period.

@timj timj merged commit 96f01af into main Aug 25, 2022
@timj timj deleted the tickets/DM-35917 branch August 25, 2022 20:30
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