No reason to pass around so many parameters or read them from config file. There should be a morfJobConfig class (or something similar) which contains everything needed to run the job. Then, there can be some kind of constructor function (very similar to get_config_properties()) which will read the config file and return a single morfJobConfig instance.
No reason to pass around so many parameters or read them from config file. There should be a morfJobConfig class (or something similar) which contains everything needed to run the job. Then, there can be some kind of constructor function (very similar to
get_config_properties()
) which will read the config file and return a single morfJobConfig instance.