LSSTApplications  10.0-2-g4f67435,11.0.rc2+1,11.0.rc2+12,11.0.rc2+3,11.0.rc2+4,11.0.rc2+5,11.0.rc2+6,11.0.rc2+7,11.0.rc2+8
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