DQAManager#
The function of the Knowlestry Application Framework library to load TaskLists from a JSON file and process them can be accessed through the
dqa.dqa_manager.DQAManager
class. A typical procedure to load and execute a configuration looks like the
following.
# Load all Task/Algorithm classes from the core library.
ConfigSystem.load_classes()
# Custom task classes can be registered in this way.
ConfigSystem.load_task_class(MyTaskClass)
config_filename = 'Preprocessing.json'
manager = DQAManager()
# Loading the configuration. Additional parameters to the config can be specified.
manager.load_config_file(str(config_filename), parameters={}, config_dir='.')
# Run a task list. Its name is specified as the parameter. By default, it is 'Main'.
manager.process_task_list()