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. |
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