ConfigDatasetType¶
- 
class 
lsst.pipe.base.ConfigDatasetType(name)¶ Bases:
lsst.pipe.base.argumentParser.DynamicDatasetTypeDataset type specified by a config parameter.
- Parameters
 - name
str Name of config option whose value is the dataset type.
- name
 
Methods Summary
addArgument(parser, idName)Add a command-line argument to specify dataset type name, if wanted.
getDatasetType(namespace)Return the dataset type as a string, from the appropriate config field.
Methods Documentation
- 
addArgument(parser, idName)¶ 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".
- parser
 
Notes
The default implementation does nothing
- 
getDatasetType(namespace)¶ Return the dataset type as a string, from the appropriate config field.
- Parameters
 - namespace
argparse.Namespace Parsed command.
- namespace