Skip to content

Commit

Permalink
Update test_resources path (#375)
Browse files Browse the repository at this point in the history
  • Loading branch information
KaiWaldrant authored Feb 14, 2024
1 parent fe7b02e commit e2cc44f
Show file tree
Hide file tree
Showing 10 changed files with 13 additions and 12 deletions.
4 changes: 2 additions & 2 deletions src/tasks/predict_modality/api/comp_control_method.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,5 +38,5 @@ functionality:
path: /src/common/comp_tests/check_method_config.py
- type: python_script
path: /src/common/comp_tests/run_and_check_adata.py
- path: /resources_test/predict_modality/openproblems_neurips2021/bmmc_cite
dest: resources_test/predict_modality/openproblems_neurips2021/bmmc_cite
- path: /resources_test/predict_modality/openproblems_neurips2021/bmmc_cite_GEX2ADT
dest: resources_test/predict_modality/openproblems_neurips2021/bmmc_cite_GEX2ADT
4 changes: 2 additions & 2 deletions src/tasks/predict_modality/api/comp_method.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,6 @@ functionality:
path: /src/common/comp_tests/check_method_config.py
- type: python_script
path: /src/common/comp_tests/run_and_check_adata.py
- path: /resources_test/predict_modality/openproblems_neurips2021/bmmc_cite
dest: resources_test/predict_modality/openproblems_neurips2021/bmmc_cite
- path: /resources_test/predict_modality/openproblems_neurips2021/bmmc_cite_GEX2ADT
dest: resources_test/predict_modality/openproblems_neurips2021/bmmc_cite_GEX2ADT
- path: /src/common/library.bib
4 changes: 2 additions & 2 deletions src/tasks/predict_modality/api/comp_metric.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,6 @@ functionality:
path: /src/common/comp_tests/check_metric_config.py
- type: python_script
path: /src/common/comp_tests/run_and_check_adata.py
- path: /resources_test/predict_modality/openproblems_neurips2021/bmmc_cite
dest: resources_test/predict_modality/openproblems_neurips2021/bmmc_cite
- path: /resources_test/predict_modality/openproblems_neurips2021/bmmc_cite_GEX2ADT
dest: resources_test/predict_modality/openproblems_neurips2021/bmmc_cite_GEX2ADT
- path: /src/common/library.bib
2 changes: 1 addition & 1 deletion src/tasks/predict_modality/api/file_prediction.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
type: file
example: "resources_test/predict_modality/openproblems_neurips2021/bmmc_cite/prediction.h5ad"
example: "resources_test/predict_modality/openproblems_neurips2021/bmmc_cite_GEX2ADT/prediction.h5ad"
info:
label: "Prediction"
summary: "A prediction of the mod2 expression values of the test cells"
Expand Down
2 changes: 1 addition & 1 deletion src/tasks/predict_modality/api/file_score.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
type: file
example: "resources_test/predict_modality/openproblems_neurips2021/bmmc_cite/score.h5ad"
example: "resources_test/predict_modality/openproblems_neurips2021/bmmc_cite_GEX2ADT/score.h5ad"
info:
label: "Score"
summary: "Metric score file"
Expand Down
2 changes: 1 addition & 1 deletion src/tasks/predict_modality/api/file_test_mod1.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
type: file
example: "resources_test/predict_modality/openproblems_neurips2021/bmmc_cite/test_mod1.h5ad"
example: "resources_test/predict_modality/openproblems_neurips2021/bmmc_cite_GEX2ADT/test_mod1.h5ad"
info:
label: "Test mod1"
summary: "The mod1 expression values of the test cells."
Expand Down
2 changes: 1 addition & 1 deletion src/tasks/predict_modality/api/file_test_mod2.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
type: file
example: "resources_test/predict_modality/openproblems_neurips2021/bmmc_cite/test_mod2.h5ad"
example: "resources_test/predict_modality/openproblems_neurips2021/bmmc_cite_GEX2ADT/test_mod2.h5ad"
info:
label: "Test mod2"
summary: "The mod2 expression values of the test cells."
Expand Down
2 changes: 1 addition & 1 deletion src/tasks/predict_modality/api/file_train_mod1.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
type: file
example: "resources_test/predict_modality/openproblems_neurips2021/bmmc_cite/train_mod1.h5ad"
example: "resources_test/predict_modality/openproblems_neurips2021/bmmc_cite_GEX2ADT/train_mod1.h5ad"
info:
label: "Train mod1"
summary: "The mod1 expression values of the train cells."
Expand Down
2 changes: 1 addition & 1 deletion src/tasks/predict_modality/api/file_train_mod2.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
type: file
example: "resources_test/predict_modality/openproblems_neurips2021/bmmc_cite/train_mod2.h5ad"
example: "resources_test/predict_modality/openproblems_neurips2021/bmmc_cite_GEX2ADT/train_mod2.h5ad"
info:
label: "Train mod2"
summary: "The mod2 expression values of the train cells."
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ nextflow run . \
--output_state '$id/state.yaml'

echo "Run one method"

viash run src/tasks/predict_modality/methods/knnr_py/config.vsh.yaml -- \
--input_train_mod1 $OUTPUT_DIR/openproblems_neurips2021/bmmc_cite_GEX2ADT/train_mod1.h5ad \
--input_train_mod2 $OUTPUT_DIR/openproblems_neurips2021/bmmc_cite_GEX2ADT/train_mod2.h5ad \
Expand Down

0 comments on commit e2cc44f

Please sign in to comment.