diff --git a/src/workflows/run_benchmark/main.nf b/src/workflows/run_benchmark/main.nf index 6350aad..68e5ecd 100644 --- a/src/workflows/run_benchmark/main.nf +++ b/src/workflows/run_benchmark/main.nf @@ -160,7 +160,10 @@ workflow run_wf { def metric_configs_file = tempFile("metric_configs.yaml") metric_configs_file.write(metric_configs_yaml_blob) - def task_info_file = meta.resources_dir.resolve("_viash.yaml") + def viash_file = meta.resources_dir.resolve("_viash.yaml") + def viash_file_content = toYamlBlob(readYaml(viash_file).info) + def task_info_file = tempFile("task_info.yaml") + task_info_file.write(viash_file_content) // store the scores in a file def score_uns = states.collect{it.score_uns} @@ -171,7 +174,7 @@ workflow run_wf { def new_state = [ output_method_configs: method_configs_file, output_metric_configs: metric_configs_file, - output_task_info: task_info_file.info, + output_task_info: task_info_file, output_scores: score_uns_file, _meta: states[0]._meta ]