Skip to content

Commit

Permalink
fix nextflow test errors (#261)
Browse files Browse the repository at this point in the history
* fix denoising

* fix match modality metrics input
  • Loading branch information
KaiWaldrant authored Oct 12, 2023
1 parent 8881f59 commit 4d7d9f6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions src/tasks/denoising/workflows/run_benchmark/main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ workflow run_wf {

// define a new 'id' by appending the method name to the dataset id
id: { id, state, comp ->
id + "." + comp.functionality.name
id + "." + comp.config.functionality.name
},

// use 'fromState' to fetch the arguments the component requires from the overall state
Expand All @@ -63,7 +63,7 @@ workflow run_wf {
// use 'toState' to publish that component's outputs to the overall state
toState: { id, output, state, comp ->
state + [
method_id: comp.functionality.name,
method_id: comp.config.functionality.name,
method_output: output.output
]
}
Expand All @@ -80,7 +80,7 @@ workflow run_wf {
// use 'toState' to publish that component's outputs to the overall state
toState: { id, output, state, comp ->
state + [
metric_id: comp.functionality.name,
metric_id: comp.config.functionality.name,
metric_output: output.output
]
}
Expand Down
4 changes: 2 additions & 2 deletions src/tasks/match_modalities/workflows/run_benchmark/main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -91,8 +91,8 @@ workflow run_wf {
components: metrics,
// use 'fromState' to fetch the arguments the component requires from the overall state
fromState: [
input_mod1: "method_output_mod1",
input_mod2: "method_output_mod2",
input_integrated_mod1: "method_output_mod1",
input_integrated_mod2: "method_output_mod2",
input_solution_mod1: "input_solution_mod1",
input_solution_mod2: "input_solution_mod2"
],
Expand Down

0 comments on commit 4d7d9f6

Please sign in to comment.