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
Classes | Namespaces | Functions | Variables
argumentParser.py File Reference

Go to the source code of this file.

Classes

class  lsst.pipe.base.argumentParser.DataIdContainer
 A container for data IDs and associated data references. More...
 
class  lsst.pipe.base.argumentParser.DataIdArgument
 Glorified struct for data about id arguments, used by ArgumentParser.add_id_argument. More...
 
class  lsst.pipe.base.argumentParser.DatasetArgument
 Specify that the dataset type should be a command-line option. More...
 
class  lsst.pipe.base.argumentParser.ArgumentParser
 An argument parser for pipeline tasks that is based on argparse.ArgumentParser. More...
 
class  lsst.pipe.base.argumentParser.ConfigValueAction
 argparse action callback to override config parameters using name=value pairs from the command line More...
 
class  lsst.pipe.base.argumentParser.ConfigFileAction
 argparse action to load config overrides from one or more files More...
 
class  lsst.pipe.base.argumentParser.IdValueAction
 argparse action callback to process a data ID into a dict More...
 
class  lsst.pipe.base.argumentParser.LogLevelAction
 argparse action to set log level More...
 

Namespaces

 lsst.pipe.base.argumentParser
 

Functions

def lsst.pipe.base.argumentParser._fixPath
 Apply environment variable as default root, if present, and abspath. More...
 
def lsst.pipe.base.argumentParser.getTaskDict
 Get a dictionary of task info for all subtasks in a config. More...
 
def lsst.pipe.base.argumentParser.obeyShowArgument
 Process arguments specified with –show (but ignores "data") More...
 
def lsst.pipe.base.argumentParser.showTaskHierarchy
 Print task hierarchy to stdout. More...
 
def lsst.pipe.base.argumentParser.setDottedAttr
 Like setattr, but accepts hierarchical names, e.g. More...
 
def lsst.pipe.base.argumentParser.getDottedAttr
 Like getattr, but accepts hierarchical names, e.g. More...
 
def lsst.pipe.base.argumentParser.dataExists
 Return True if data exists at the current level or any data exists at a deeper level, False otherwise. More...
 

Variables

list lsst.pipe.base.argumentParser.__all__ = ["ArgumentParser", "ConfigFileAction", "ConfigValueAction", "DataIdContainer", "DatasetArgument"]
 
string lsst.pipe.base.argumentParser.DEFAULT_INPUT_NAME = "PIPE_INPUT_ROOT"
 
string lsst.pipe.base.argumentParser.DEFAULT_CALIB_NAME = "PIPE_CALIB_ROOT"
 
string lsst.pipe.base.argumentParser.DEFAULT_OUTPUT_NAME = "PIPE_OUTPUT_ROOT"
 
 lsst.pipe.base.argumentParser._pattern