Skip to content

Commit dc39223

Browse files
committed
fix wf
1 parent 214f782 commit dc39223

2 files changed

Lines changed: 6 additions & 18 deletions

File tree

src/api/comp_data_preprocessor.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,11 @@ arguments:
1616
__merge__: file_common_scrnaseq.yaml
1717
direction: input
1818
required: true
19-
- name: "--output_ist"
19+
- name: "--output_sp"
2020
__merge__: file_raw_ist.yaml
2121
direction: output
2222
required: true
23-
- name: "--output_scrnaseq"
23+
- name: "--output_sc"
2424
__merge__: file_scrnaseq_reference.yaml
2525
direction: output
2626
required: true

src/workflows/process_datasets/main.nf

Lines changed: 4 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -14,31 +14,19 @@ workflow run_wf {
1414
main:
1515
output_ch = input_ch
1616

17-
// example of channel event:
18-
// ["mouse_brain_combined", [
19-
// "input_sc": file("resources_test/common/2023_yao_mouse_brain_scrnaseq_10xv2/dataset.h5ad"),
20-
// "input_sp": file("resources_test/common/2023_10x_mouse_brain_xenium_rep1/dataset.zarr")]]
21-
2217
| process_dataset_comp.run(
2318
fromState: [
24-
input_ist: "input_sp",
25-
input_scrnaseq: "input_sc"
19+
input_sp: "input_sp",
20+
input_sc: "input_sc"
2621
],
2722
toState: [
28-
output_sc: "output_scrnaseq",
29-
output_sp: "output_ist"
23+
output_sc: "output_sc",
24+
output_sp: "output_sp"
3025
]
3126
)
3227

33-
// example of channel event at this point:
34-
// ["my_id", ["input_sc": ..., "input_sp": ...,
35-
// "output_sc": file("..."), "output_sp": file("...")]]
36-
3728
| setState(["output_sp", "output_sc"])
3829

39-
// example of channel event at this point:
40-
// ["my_id", ["output_sc": file("..."), "output_sp": file("...")]]
41-
4230
emit:
4331
output_ch
4432
}

0 commit comments

Comments
 (0)