diff --git a/ews/coordinator/processor_base.py b/ews/coordinator/processor_base.py index 1ca3da04b6f0bf102fa72f8956188d643e317346..b21782cd1462af1f6f75243a1b760c048392126b 100755 --- a/ews/coordinator/processor_base.py +++ b/ews/coordinator/processor_base.py @@ -146,7 +146,7 @@ class ProcessorBase: Generate the job directory path :param config: - :return: + :return:` """ short_name: str = config['short_name'] start_date: str = config['StartString'] @@ -331,7 +331,7 @@ class ProcessorBase: if k not in config.keys(): config[k] = v else: - print(f"Key {k} already present in run config - not adding key with same name from " + print(f"Key '{k}' already present in run config - not adding key with same name from " f"the sys_config") """ @@ -340,7 +340,7 @@ class ProcessorBase: """ for k, v in args.items(): if k in config.keys(): - print(f"Key {k} already present in run config - overriding key with same name from " + print(f"Key '{k}' already present in run config - overriding key with same name from " f"the sys args") config[k] = v diff --git a/ews/coordinator/utils/processor_utils.py b/ews/coordinator/utils/processor_utils.py index 19b33120d0717f3487a663acf7176cf503f02f98..3abaaba0f4a3f613563d853e108f5062d7d0f0a3 100644 --- a/ews/coordinator/utils/processor_utils.py +++ b/ews/coordinator/utils/processor_utils.py @@ -396,7 +396,7 @@ def setup_logging(job_file_path: str, with open(json_file_path, 'r') as f: log_config_dict = json.load(f) - # replace the {arg_string} roken in the logging json with the values passed in the command line. This allows the + # replace the {arg_string} token in the logging json with the values passed in the command line. This allows the # command line arguments to be logged. log_config_dict['formatters']['detailed']['format'] = \ log_config_dict['formatters']['detailed']['format'].replace("{arg_string}", arg_string)