topostats.entry_point#
Entry point for all TopoStats programs.
Parses command-line arguments and passes input on to the relevant functions / modules.
Functions#
|
Create a parser for reading options. |
|
Entry point for all TopoStats programs. |
Create a parser reading options for the 'run_topostats' processing entry point. |
|
|
Create a parser reading options for the legacy 'toposum' summarize entry point. |
|
Legacy entry point for the run_topostats processing function. |
|
Legacy entry point for the toposum summarizing function. |
Module Contents#
- topostats.entry_point.create_parser() argparse.ArgumentParser [source]#
Create a parser for reading options.
Creates a parser, with multiple sub-parsers for reading options to run ‘topostats’.
- Returns:
Argument parser.
- Return type:
arg.ArgumentParser
- topostats.entry_point.entry_point(manually_provided_args=None, testing=False) None [source]#
Entry point for all TopoStats programs.
Main entry point for running ‘topostats’ which allows the different processing steps (‘process’, ‘filter’, ‘create_config’ etc.) to be run.
- Parameters:
manually_provided_args (None) – Manually provided arguments.
testing (bool) – Whether testing is being carried out.
- Returns:
Does not return anything.
- Return type:
None
- topostats.entry_point.create_legacy_run_topostats_parser() argparse.ArgumentParser [source]#
Create a parser reading options for the ‘run_topostats’ processing entry point.
- Returns:
Arguments to be passed to ‘run_topostats’.
- Return type:
arg.ArgumentParser
- topostats.entry_point.create_legacy_toposum_parser() argparse.ArgumentParser [source]#
Create a parser reading options for the legacy ‘toposum’ summarize entry point.
- Returns:
Arguments to be passed to ‘toposum’.
- Return type:
arg.ArgumentParser