Compute median process runtimes, then write a YAML list of the processes and their median runtimes in seconds to the path specified by 'filepath'.
The default value of filepath is the value of the env var MOLEVOLVR_PROC_WEIGHTS, which getProcessRuntimeWeights() also uses as its default read location.
Arguments
- dir_job_results
rlang::chr path to MolEvolvR job_results directory
- filepath
rlang::chr path to save YAML file; if NULL, uses ./molevol_scripts/log_data/job_proc_weights.yml