Skip to content

Commit

Permalink
simplify task_info capture
Browse files Browse the repository at this point in the history
  • Loading branch information
KaiWaldrant committed Jul 12, 2024
1 parent 5d733a6 commit 3ed5174
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/workflows/run_benchmark/main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -160,10 +160,7 @@ workflow run_wf {
def metric_configs_file = tempFile("metric_configs.yaml")
metric_configs_file.write(metric_configs_yaml_blob)

def viash_file = meta.resources_dir.resolve("_viash.yaml")
def viash_file_content = toYamlBlob(readYaml(viash_file))
def task_info_file = tempFile("task_info.yaml")
task_info_file.write(viash_file_content)
def task_info_file = meta.resources_dir.resolve("_viash.yaml")

// store the scores in a file
def score_uns = states.collect{it.score_uns}
Expand Down

0 comments on commit 3ed5174

Please sign in to comment.