checkQC.app module

class checkQC.app.App(runfolder, config_file=None, json_mode=False, downgrade_errors_for=(), use_closest_read_length=False)[source]

Bases: object

This is the main application object for CheckQC.

configure_and_run()[source]

Configures and runs the application. It will set the exit status of the object in accordance with if any fatal qc errors were found or not.

Returns:The reports of the application as a dict
run()[source]

This method will run CheckQC as it is intended to run as a commandline application, it will log to the stderr and write data to stdout.

Returns:the exit status of the run (0 for success, else not 0)