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-43960: Spatial sample metrics task breaks fakes pipeline #179

Merged
merged 2 commits into from Apr 19, 2024

Conversation

kfindeisen
Copy link
Member

This PR fixes a configuration bug in ApPipeWithFakes and adds more extensive pipeline checks.

This PR must be merged after lsst/pipe_base#414.

The fakes pipeline contained an error where the task tried to read an
initial_pvi instead of a calexp.
This tester checks that the pipeline isn't demanding any exotic inputs,
independent of the contracts. This provides an extra layer of
protection against mis-configuration.
Copy link
Contributor

@isullivan isullivan 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 the fix! Two comments:

  • If possible, please append something to identify which pipeline failed to the error message if test_datasets fails.
  • Our contracts are getting very long, and are mostly the same between ApPipe and ApPipeWithFakes. Is it possible to refactor out the common contracts to a ApPipeContracts.yaml file and import it? This would be a new ticket.

tests/test_pipelines.py Show resolved Hide resolved
@kfindeisen kfindeisen merged commit c9c36b9 into main Apr 19, 2024
2 checks passed
@kfindeisen kfindeisen deleted the tickets/DM-43960 branch April 19, 2024 19:39
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