LSSTApplications  10.0+286,10.0+36,10.0+46,10.0-2-g4f67435,10.1+152,10.1+37,11.0,11.0+1,11.0-1-g47edd16,11.0-1-g60db491,11.0-1-g7418c06,11.0-2-g04d2804,11.0-2-g68503cd,11.0-2-g818369d,11.0-2-gb8b8ce7
LSSTDataManagementBasePackage
Public Member Functions | List of all members
lsst.pipe.tasks.ingest.IngestArgumentParser Class Reference
Inheritance diagram for lsst.pipe.tasks.ingest.IngestArgumentParser:

Public Member Functions

def __init__
 

Detailed Description

Argument parser to support ingesting images into the image repository

Definition at line 17 of file ingest.py.

Constructor & Destructor Documentation

def lsst.pipe.tasks.ingest.IngestArgumentParser.__init__ (   self,
  args,
  kwargs 
)

Definition at line 19 of file ingest.py.

19 
20  def __init__(self, *args, **kwargs):
21  super(IngestArgumentParser, self).__init__(*args, **kwargs)
22  self.add_argument("-n", "--dry-run", dest="dryrun", action="store_true", default=False,
23  help="Don't perform any action?")
24  self.add_argument("--mode", choices=["move", "copy", "link", "skip"], default="link",
25  help="Mode of delivering the files to their destination")
26  self.add_argument("--create", action="store_true", help="Create new registry (clobber old)?")
27  self.add_id_argument("--badId", "raw", "Data identifier for bad data", doMakeDataRefList=False)
28  self.add_argument("--badFile", nargs="*", default=[],
29  help="Names of bad files (no path; wildcards allowed)")
30  self.add_argument("files", nargs="+", help="Names of file")

The documentation for this class was generated from the following file: