Execute jobsΒΆ

Once a job is created (see Create new jobs), it can be executed as follows:

from gms_preprocessing import ProcessController

configuration = dict(
    db_host='localhost',
    CPUs=20
    )

PC = ProcessController(job_ID=123456, **configuration)
PC.run_all_processors()

This runs the job with the ID 123456 with the configuration parameters as given in the configuration dictionary. There is a default configuration file, called options_default.json. options_default.json where all the available configuration parameters are documented.