-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
890aa64
commit ecbd4be
Showing
2 changed files
with
42 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
#!/bin/bash | ||
|
||
RUN_ID="run_$(date +%Y-%m-%d_%H-%M-%S)" | ||
publish_dir="s3://openproblems-data/resources/task_template/results/${RUN_ID}" | ||
|
||
# make sure only log_cp10k is used | ||
cat > /tmp/params.yaml << HERE | ||
input_states: s3://openproblems-data/resources/task_template/datasets/**/state.yaml | ||
rename_keys: 'input_train:output_train;input_test:output_test' | ||
output_state: "state.yaml" | ||
publish_dir: "$publish_dir" | ||
HERE | ||
|
||
tw launch https://github.com/openproblems-bio/task_template.git \ | ||
--revision build/main \ | ||
--pull-latest \ | ||
--main-script target/nextflow/workflows/run_benchmark/main.nf \ | ||
--workspace 53907369739130 \ | ||
--compute-env 6TeIFgV5OY4pJCk8I0bfOh \ | ||
--params-file /tmp/params.yaml \ | ||
--entry-name auto \ | ||
--config common/nextflow_helpers/labels_tw.config \ | ||
--labels task_template,full |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
#!/bin/bash | ||
|
||
cat > /tmp/params.yaml << 'HERE' | ||
input_states: s3://openproblems-data/resources_test/task_template/**/state.yaml | ||
rename_keys: 'input_train:output_train;input_test:output_test' | ||
output_state: "state.yaml" | ||
publish_dir: s3://openproblems-nextflow/temp/task_template/ | ||
HERE | ||
|
||
tw launch https://github.com/openproblems-bio/task_template.git \ | ||
--revision build/main \ | ||
--pull-latest \ | ||
--main-script target/nextflow/workflows/run_benchmark/main.nf \ | ||
--workspace 53907369739130 \ | ||
--compute-env 6TeIFgV5OY4pJCk8I0bfOh \ | ||
--params-file /tmp/params.yaml \ | ||
--entry-name auto \ | ||
--config common/nextflow_helpers/labels_tw.config \ | ||
--labels task_template,test |