Task#

class Task[source]#

Bases: Config

Task(input1: typing_extensions.Annotated[pathlib.Path, Param(help=None, short_flag_name=None, long_flag_name=None, parser=_FromFunctionThatRaises(fun=<class ‘pathlib.Path’>, catch=()), is_config=False, is_root_path=False, collector=<configpile.collector.Collector.keep_last.<locals>._KeepLast object at 0x7f0633ff7e20>, default_value=None, name=None, positional=<Positional.ONCE: 1>, config_key_name=<Derived.KEBAB_CASE: 3>, env_var_name=None)], input2: typing_extensions.Annotated[pathlib.Path, Param(help=None, short_flag_name=None, long_flag_name=None, parser=_FromFunctionThatRaises(fun=<class ‘pathlib.Path’>, catch=()), is_config=False, is_root_path=False, collector=<configpile.collector.Collector.keep_last.<locals>._KeepLast object at 0x7f0633ff7df0>, default_value=None, name=None, positional=<Positional.ONCE: 1>, config_key_name=<Derived.KEBAB_CASE: 3>, env_var_name=None)], kind: typing_extensions.Annotated[Literal[‘output’, ‘matching_anchors’, ‘matching_diff’], Param(help=None, short_flag_name=None, long_flag_name=<Derived.KEBAB_CASE: 3>, parser=_Choices(mapping={‘output’: ‘output’, ‘matching_anchors’: ‘matching_anchors’, ‘matching_diff’: ‘matching_diff’}, strip=True, force_case=<ForceCase.NO_CHANGE: 0>, aliases={}), is_config=False, is_root_path=False, collector=<configpile.collector.Collector.keep_last.<locals>._KeepLast object at 0x7f0633ff7fd0>, default_value=None, name=None, positional=None, config_key_name=<Derived.KEBAB_CASE: 3>, env_var_name=None)], threshold: typing_extensions.Annotated[float, Param(help=None, short_flag_name=None, long_flag_name=<Derived.KEBAB_CASE: 3>, parser=_FromFunctionThatRaises(fun=<class ‘float’>, catch=()), is_config=False, is_root_path=False, collector=<configpile.collector.Collector.keep_last.<locals>._KeepLast object at 0x7f063444b490>, default_value=’0.005’, name=None, positional=None, config_key_name=<Derived.KEBAB_CASE: 3>, env_var_name=None)])

prog_: ClassVar[Optional[str]] = 'compare_normalized_output'#

Program name

ini_strict_sections_: ClassVar[Sequence[str]] = ['compare_normalized_output']#

Names of additional sections to parse in configuration files, unknown keys error

ini_relaxed_sections_: ClassVar[Sequence[str]] = ['compare']#

Names of sections to parse in configuration files, with unknown keys ignored

env_prefix_: ClassVar[str] = 'RASSINE'#

Prefix for automatically derived environment variable names

input1: Path[Path]#

First pickle to compare

input2: Path[Path]#

Second pickle to compare

kind: Literal['output', 'matching_anchors', 'matching_diff'][~typing.Literal['output', 'matching_anchors', 'matching_diff']]#

Kind of output to compare

threshold: float[float]#

Threshold for acceptance in normalized units

__init__(input1, input2, kind, threshold)#