pyTOPSScrape.err package

Submodules

pyTOPSScrape.err.err module

pyTOPSScrape.err.err.error_check(kwargs: dict, mode: int)

Basic error checking to run

Parameters
  • kwargs (dict) – keyword argument dictionary used by main function

  • mode (int) –

    Define error check mode.
    • 0 : web mode (check errors for TOPS erb query)

    • 1 : opal mode (convert tops to opal format)

Raises
  • OSError – If all of the TOPS files have been verrified as downloaded and the force flag has been set.

  • OSError – If all of the TOPS files have not been verified but some have downloaded and the force flag has not been set

  • OSError – If all of the TOPS files have be verified and the force flag has not been set.

  • OSError – If opal has been set but the TOPS files are unable to be validated.

Module contents