lsst.pipe.base  13.0-14-g8b3bf66+19
 All Classes Namespaces Files Functions Variables Pages
Public Member Functions | Public Attributes | List of all members
lsst.pipe.base.argumentParser.ConfigDatasetType Class Reference
Inheritance diagram for lsst.pipe.base.argumentParser.ConfigDatasetType:
lsst.pipe.base.argumentParser.DynamicDatasetType

Public Member Functions

def __init__
 
def getDatasetType
 
def addArgument
 

Public Attributes

 name
 

Detailed Description

Dataset type specified by a config parameter.

Parameters
----------
name : `str`
    Name of config option whose value is the dataset type.

Definition at line 328 of file argumentParser.py.

Constructor & Destructor Documentation

def lsst.pipe.base.argumentParser.ConfigDatasetType.__init__ (   self,
  name 
)

Definition at line 337 of file argumentParser.py.

Member Function Documentation

def lsst.pipe.base.argumentParser.DynamicDatasetType.addArgument (   self,
  parser,
  idName 
)
inherited
Add a command-line argument to specify dataset type name, if wanted.

Parameters
----------
parser : `ArgumentParser`
    Argument parser to add the argument to.
idName : `str`
    Name of data ID argument, without the leading ``"--"``, e.g. ``"id"``.

Notes
-----
The default implementation does nothing

Definition at line 230 of file argumentParser.py.

def lsst.pipe.base.argumentParser.ConfigDatasetType.getDatasetType (   self,
  namespace 
)
Return the dataset type as a string, from the appropriate config field

Parameters
----------
namespace : `argparse.Namespace`
    Parsed command.

Definition at line 341 of file argumentParser.py.

Member Data Documentation

lsst.pipe.base.argumentParser.ConfigDatasetType.name

Definition at line 339 of file argumentParser.py.


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