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-35504: Unify ap_pipe configs #210

Merged
merged 4 commits into from
Nov 22, 2024
Merged

DM-35504: Unify ap_pipe configs #210

merged 4 commits into from
Nov 22, 2024

Conversation

kfindeisen
Copy link
Member

@kfindeisen kfindeisen commented Nov 22, 2024

This PR removes the last traces of our obs_* hacks and centralizes the remaining config (actually parameter) overrides in _ingredients. It also addresses a deprecation warning in the unit tests.

Copy link
Collaborator

@mrawls mrawls left a comment

Choose a reason for hiding this comment

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

Thank you for cleaning this up!

IsrTaskLSST has more inputs than IsrTask does.
These configs were originally a workaround for obs packages containing
DRP-specific assumptions for CalibrateTask, CharacterizeImageTask, and
the coadd tasks. We no longer use any of these tasks in AP pipeline,
so the configs and the workarounds they enabled are unnecessary.
When we used a hack to reset certain task configs, the _ingredients
configs needed to be re-applied after the reset. Now that the reset is
gone, these configs can (and should) be inherited from _ingredients.
This task is deprecated, but its unit tests must continue using it
despite the warnings. Since FutureWarning is correct behavior, test
for it instead of suppressing it.
@kfindeisen kfindeisen merged commit 20e820b into main Nov 22, 2024
2 checks passed
@kfindeisen kfindeisen deleted the tickets/DM-35504 branch November 22, 2024 22:34
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.

2 participants