Skip to content

Commit

Permalink
update workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
sainirmayi committed Oct 25, 2024
1 parent a6f8216 commit bd6507d
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 48 deletions.
9 changes: 2 additions & 7 deletions src/workflows/process_datasets/config.vsh.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,14 +35,9 @@ resources:
entrypoint: run_wf
- path: /common/nextflow_helpers/helper.nf
dependencies:
- name: common/check_dataset_schema
repository: openproblems_v2
- name: schema/verify_data_structure
repository: core
- name: process_dataset/dataset_simulator
- name: process_dataset/split_dataset
repositories:
- name: openproblems_v2
type: github
repo: openproblems-bio/openproblems-v2
tag: main_build
runners:
- type: nextflow
2 changes: 1 addition & 1 deletion src/workflows/process_datasets/main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ workflow run_wf {
main:
output_ch = input_ch

| check_dataset_schema.run(
| verify_data_structure.run(
fromState: { id, state ->
def schema = findArgumentSchema(meta.config, "input")
def schemaYaml = tempFile("schema.yaml")
Expand Down
15 changes: 0 additions & 15 deletions src/workflows/process_datasets/run_test.sh

This file was deleted.

6 changes: 2 additions & 4 deletions src/workflows/run_benchmark/config.vsh.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,8 @@ resources:
path: main.nf
entrypoint: run_wf
dependencies:
- name: common/check_dataset_schema
repository: openproblems_v2
- name: common/extract_metadata
repository: openproblems_v2
- name: h5ad/extract_uns_metadata
repository: core
- name: control_methods/random_proportions
- name: control_methods/true_proportions
- name: methods/cell2location
Expand Down
4 changes: 2 additions & 2 deletions src/workflows/run_benchmark/main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ workflow run_wf {
}

// extract the dataset metadata
| extract_metadata.run(
| extract_uns_metadata.run(
fromState: [input: "input_solution"],
toState: { id, output, state ->
state + [
Expand Down Expand Up @@ -150,7 +150,7 @@ workflow run_wf {
output_ch = score_ch

// extract the scores
| extract_metadata.run(
| extract_uns_metadata.run(
key: "extract_scores",
fromState: [input: "metric_output"],
toState: { id, output, state ->
Expand Down
19 changes: 0 additions & 19 deletions src/workflows/run_benchmark/run_test.sh

This file was deleted.

0 comments on commit bd6507d

Please sign in to comment.