Skip to content

Commit bda48b6

Browse files
authored
Various fixes (#4)
* fix compute env * bump memory reqs * use main openproblems repo * update submodule * bump labels
1 parent 0bd597e commit bda48b6

File tree

14 files changed

+24
-30
lines changed

14 files changed

+24
-30
lines changed

_viash.yaml

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -86,16 +86,10 @@ info:
8686
dest: resources_test/task_predict_modality
8787

8888
repositories:
89-
- name: openproblems_v2
89+
- name: openproblems
9090
type: github
91-
repo: openproblems-bio/openproblems-v2
91+
repo: openproblems-bio/openproblems
9292
tag: main_build
93-
- name: core
94-
type: github
95-
repo: openproblems-bio/core
96-
# tag: build/main
97-
tag: build/add_common_components
98-
path: viash/core
9993

10094
config_mods: |
10195
.runners[.type == "nextflow"].config.labels := { lowmem : "memory = 20.Gb", midmem : "memory = 50.Gb", highmem : "memory = 100.Gb", lowcpu : "cpus = 5", midcpu : "cpus = 15", highcpu : "cpus = 30", lowtime : "time = 1.h", midtime : "time = 4.h", hightime : "time = 8.h", veryhightime : "time = 24.h" }

scripts/create_datasets/resources.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ tw launch https://github.com/openproblems-bio/task_predict_modality.git \
1919
--pull-latest \
2020
--main-script target/nextflow/workflows/process_datasets/main.nf \
2121
--workspace 53907369739130 \
22-
--compute-env 6TeIFgV5OY4pJCk8I0bfOh \
22+
--compute-env 5DwwhQoBi0knMSGcwThnlF \
2323
--params-file /tmp/params.yaml \
2424
--entry-name auto \
2525
--config common/nextflow_helpers/labels_tw.config \

scripts/run_benchmark/run_full_seqeracloud.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ publish_dir="s3://openproblems-data/resources/task_predict_modality/results/${RU
1414

1515
# write the parameters to file
1616
cat > /tmp/params.yaml << HERE
17-
input_states: s3://openproblems-data/resources/task_predict_modality/datasets/**/state.yaml
18-
rename_keys: 'input_train_mod1:output_train_mod1;input_train_mod2:output_train_mod2;input_test_mod1:output_test_mod1;input_test_mod2:output_test_mod2"
17+
input_states: "s3://openproblems-data/resources/task_predict_modality/datasets/**/state.yaml"
18+
rename_keys: "input_train_mod1:output_train_mod1;input_train_mod2:output_train_mod2;input_test_mod1:output_test_mod1;input_test_mod2:output_test_mod2"
1919
output_state: "state.yaml"
2020
publish_dir: "$publish_dir"
2121
HERE
@@ -25,7 +25,7 @@ tw launch https://github.com/openproblems-bio/task_predict_modality.git \
2525
--pull-latest \
2626
--main-script target/nextflow/workflows/run_benchmark/main.nf \
2727
--workspace 53907369739130 \
28-
--compute-env 6TeIFgV5OY4pJCk8I0bfOh \
28+
--compute-env 5DwwhQoBi0knMSGcwThnlF \
2929
--params-file /tmp/params.yaml \
3030
--entry-name auto \
3131
--config common/nextflow_helpers/labels_tw.config \

scripts/run_benchmark/run_test_seqeracloud.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ tw launch https://github.com/openproblems-bio/task_predict_modality.git \
3434
--pull-latest \
3535
--main-script target/nextflow/workflows/run_benchmark/main.nf \
3636
--workspace 53907369739130 \
37-
--compute-env 6TeIFgV5OY4pJCk8I0bfOh \
37+
--compute-env 5DwwhQoBi0knMSGcwThnlF \
3838
--params-file /tmp/params.yaml \
3939
--config common/nextflow_helpers/labels_tw.config \
4040
--labels task_predict_modality,test

src/control_methods/mean_per_gene/config.vsh.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,5 @@ runners:
1313
- type: executable
1414
- type: nextflow
1515
directives:
16-
label: [midtime, lowmem, lowcpu]
16+
label: [midtime, midmem, lowcpu]
1717

src/control_methods/random_predict/config.vsh.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@ runners:
1313
- type: executable
1414
- type: nextflow
1515
directives:
16-
label: [midtime, lowmem, lowcpu]
16+
label: [midtime, midmem, lowcpu]

src/control_methods/solution/config.vsh.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@ runners:
1313
- type: executable
1414
- type: nextflow
1515
directives:
16-
label: [midtime, lowmem, lowcpu]
16+
label: [midtime, midmem, lowcpu]

src/control_methods/zeros/config.vsh.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@ runners:
1313
- type: executable
1414
- type: nextflow
1515
directives:
16-
label: [midtime, lowmem, lowcpu]
16+
label: [midtime, midmem, lowcpu]

src/methods/knnr_py/config.vsh.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,4 +32,4 @@ runners:
3232
- type: executable
3333
- type: nextflow
3434
directives:
35-
label: [hightime, lowmem, lowcpu]
35+
label: [hightime, midmem, midcpu]

0 commit comments

Comments
 (0)