DynamicTestPipelineTaskConfig#
- class lsst.pipe.base.tests.mocks.DynamicTestPipelineTaskConfig(*args, **kw)#
Bases:
BaseTestPipelineTaskConfigConfiguration for DynamicTestPipelineTask.
Attributes Summary
Field which refers to a dynamically added configuration class which is based on a PipelineTaskConnections class.
Dimensions for the task's quanta.
Condition on Data ID to raise an exception.
Class name of the exception to raise when fail condition is triggered.
Signal to raise instead of an exception.
Init-input connections, keyed by the connection name as seen by the task.
Init-output connections, keyed by the connection name as seen by the task.
Regular input connections, keyed by the connection name as seen by the task.
Arbitrary integer value to write into mock output datasets (
int, defaultNone)If not None, simulate an out-of-memory failure by raising only if ExecutionResource.max_mem exceeds this value.
Regular output connections, keyed by the connection name as seen by the task.
Prerequisite input connections, keyed by the connection name as seen by the task.
Flag to enable/disable saving of log output for a task, enabled by default.
Time to sleep (seconds) before mock execution reading inputs or failing.
Arbitrary string value to write into mock output datasets (
str, defaultNone)Attributes Documentation
- connections: pexConfig.ConfigField#
Field which refers to a dynamically added configuration class which is based on a PipelineTaskConnections class.
- dimensions#
Dimensions for the task’s quanta. (
List, default[])
- fail_condition#
Condition on Data ID to raise an exception. String expression which includes attributes of quantum data ID using a syntax of daf_butler user expressions (e.g. ‘visit = 123’). (
str, default'')
- fail_exception#
Class name of the exception to raise when fail condition is triggered. Can be ‘lsst.pipe.base.NoWorkFound’ to specify non-failure exception. (
str, default'builtins.ValueError')
- fail_signal#
Signal to raise instead of an exception. (
int, defaultNone)
- init_inputs#
Init-input connections, keyed by the connection name as seen by the task. Must be empty if the task will be constructed. (
ConfigDict, default{})
- init_outputs#
Init-output connections, keyed by the connection name as seen by the task. Must be empty if the task will be constructed. (
ConfigDict, default{})
- inputs#
Regular input connections, keyed by the connection name as seen by the task. (
ConfigDict, default{})
- int_value#
Arbitrary integer value to write into mock output datasets (
int, defaultNone)
- memory_required#
If not None, simulate an out-of-memory failure by raising only if ExecutionResource.max_mem exceeds this value. This string should include units as parsed by astropy.units.Quantity (e.g. ‘4GB’). (
str, defaultNone)
- outputs#
Regular output connections, keyed by the connection name as seen by the task. (
ConfigDict, default{})
- prerequisite_inputs#
Prerequisite input connections, keyed by the connection name as seen by the task. (
ConfigDict, default{})
- saveLogOutput#
Flag to enable/disable saving of log output for a task, enabled by default. (
bool, defaultTrue)
- sleep#
Time to sleep (seconds) before mock execution reading inputs or failing. (
float, default0.0)
- str_value#
Arbitrary string value to write into mock output datasets (
str, defaultNone)