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-13451: Make ap_verify responsible for ingestion #14

Merged
merged 3 commits into from Feb 10, 2018

Conversation

kfindeisen
Copy link
Member

@kfindeisen kfindeisen commented Feb 8, 2018

This PR removes the ingestion code from ap_pipe (except for template "ingestion", which is kept as a workaround for DM-11865) and modifies the command-line interface of ap_pipe to accept a repository in the format matching the previous code's output. The default behavior when no template is provided has changed from assuming a specific visit ID to assuming templates are provided by the input repository.

Due to API changes, must be merged simultaneously with lsst/ap_verify#20.

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.

Looks fine. I may have some quibbles when I get deep into the weeds of CmdLineTask-ifying what remains of ap_pipe, but everything seems self-consistent. Thanks for working on this!

@@ -196,373 +99,66 @@ def parsePipelineArgs():
# Parse command line arguments with argparse
parser = argparse.ArgumentParser(formatter_class=argparse.RawTextHelpFormatter,
description=textwrap.dedent('''
Process raw decam images with MasterCals from ingestion --> difference imaging
Process raw decam images with MasterCals from basic reduction --> difference imaging
Copy link
Collaborator

Choose a reason for hiding this comment

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

Keep this consistent with what the very first docstring says: "from basic processing --> source association"

ap_pipe no longer performs ingestion when run as a standalone program.
The -d command-line argument has been replaced with a
CmdLineTask-style input argument.
ap_verify now creates a repository containing templates inside it, to
better simulate the production system. ap_pipe retains the ability to
add templates to a repository, in order to support input repositories
that don't have them.
@kfindeisen kfindeisen merged commit f506638 into master Feb 10, 2018
@kfindeisen kfindeisen deleted the tickets/DM-13451 branch February 25, 2019 19:51
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