A function that loads DECODING_RESULTS based on the result_name

log_load_results_from_result_name(result_name, results_dir_name)

Arguments

result_name

A string a specifying the result that should be loaded based on the name given. This result_name can be a regular expression in which all result_name values that match the regular expression will be returned as a list.

results_dir_name

A string containing the path to a directory that contains all the decoding results.

Value

A named list that has all the DECODING_RESULTS that match the result_name argument value in the manifest file's result_name column. The names on the list that are returned correspond to the result_names for each result in the manifest file. If result_name argument matches only one result, then this DECODING_RESULTS is returned rather than a list of DECODING_RESULTS.