Skip to content

Commit

Permalink
update test resources used
Browse files Browse the repository at this point in the history
  • Loading branch information
KaiWaldrant committed Sep 20, 2024
1 parent bfa6075 commit 176bca1
Show file tree
Hide file tree
Showing 17 changed files with 23 additions and 23 deletions.
4 changes: 2 additions & 2 deletions src/api/comp_control_method.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,5 @@ test_resources:
- type: python_script
path: /common/component_tests/check_config.py
- path: /common/library.bib
- path: /resources_test/denoising/pancreas
dest: resources_test/denoising/pancreas
- path: /resources_test/denoising/cxg_mouse_pancreas_atlas
dest: resources_test/denoising/cxg_mouse_pancreas_atlas
4 changes: 2 additions & 2 deletions src/api/comp_data_processor.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,5 @@ arguments:
test_resources:
- type: python_script
path: /common/component_tests/run_and_check_output.py
- path: /resources_test/common/pancreas
dest: resources_test/common/pancreas
- path: /resources_test/common/cxg_mouse_pancreas_atlas
dest: resources_test/common/cxg_mouse_pancreas_atlas
4 changes: 2 additions & 2 deletions src/api/comp_method.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,5 @@ test_resources:
- type: python_script
path: /common/component_tests/check_config.py
- path: /common/library.bib
- path: /resources_test/denoising/pancreas
dest: resources_test/denoising/pancreas
- path: /resources_test/denoising/cxg_mouse_pancreas_atlas
dest: resources_test/denoising/cxg_mouse_pancreas_atlas
4 changes: 2 additions & 2 deletions src/api/comp_metric.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,5 @@ test_resources:
- type: python_script
path: /common/component_tests/run_and_check_output.py
- path: /common/library.bib
- path: /resources_test/denoising/pancreas
dest: resources_test/denoising/pancreas
- path: /resources_test/denoising/cxg_mouse_pancreas_atlas
dest: resources_test/denoising/cxg_mouse_pancreas_atlas
2 changes: 1 addition & 1 deletion src/api/file_common_dataset.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
type: file
example: "resources_test/common/pancreas/dataset.h5ad"
example: "resources_test/common/cxg_mouse_pancreas_atlas/dataset.h5ad"
label: "Common Dataset"
summary: A subset of the common dataset.
info:
Expand Down
2 changes: 1 addition & 1 deletion src/api/file_prediction.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
type: file
example: "resources_test/denoising/pancreas/denoised.h5ad"
example: "resources_test/denoising/cxg_mouse_pancreas_atlas/denoised.h5ad"
label: "Denoised data"
summary: A denoised dataset as output by a method.
info:
Expand Down
2 changes: 1 addition & 1 deletion src/api/file_score.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
type: file
example: resources_test/denoising/pancreas/score.h5ad
example: resources_test/denoising/cxg_mouse_pancreas_atlas/score.h5ad
label: Score
summary: "File indicating the score of a metric."
info:
Expand Down
2 changes: 1 addition & 1 deletion src/api/file_test.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
type: file
example: "resources_test/denoising/pancreas/test.h5ad"
example: "resources_test/denoising/cxg_mouse_pancreas_atlas/test.h5ad"
label: "Test data"
summary: The subset of molecules used for the test dataset
info:
Expand Down
2 changes: 1 addition & 1 deletion src/api/file_train.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
type: file
example: "resources_test/denoising/pancreas/train.h5ad"
example: "resources_test/denoising/cxg_mouse_pancreas_atlas/train.h5ad"
label: "Training data"
summary: The subset of molecules used for the training dataset
info:
Expand Down
4 changes: 2 additions & 2 deletions src/control_methods/perfect_denoising/script.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

## VIASH START
par = {
'input_train': 'resources_test/denoising/pancreas/train.h5ad',
'input_test': 'resources_test/denoising/pancreas/test.h5ad',
'input_train': 'resources_test/denoising/cxg_mouse_pancreas_atlas/train.h5ad',
'input_test': 'resources_test/denoising/cxg_mouse_pancreas_atlas/test.h5ad',
'output': 'output_PD.h5ad',
}
meta = {
Expand Down
2 changes: 1 addition & 1 deletion src/data_processors/process_dataset/script.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

## VIASH START
par = {
'input': "resources_test/common/pancreas/dataset.h5ad",
'input': "resources_test/common/cxg_mouse_pancreas_atlas/dataset.h5ad",
'output_train': "train.h5ad",
'output_test': "test.h5ad",
'train_frac': 0.9,
Expand Down
2 changes: 1 addition & 1 deletion src/methods/alra/script.R
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ library(ALRA, warn.conflicts = FALSE)

## VIASH START
par <- list(
input_train = "resources_test/denoising/pancreas/train.h5ad",
input_train = "resources_test/denoising/cxg_mouse_pancreas_atlas/train.h5ad",
norm = "log",
output = "output.h5ad"
)
Expand Down
2 changes: 1 addition & 1 deletion src/methods/dca/script.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

## VIASH START
par = {
'input_train': 'resources_test/denoising/pancreas/train.h5ad',
'input_train': 'resources_test/denoising/cxg_mouse_pancreas_atlas/train.h5ad',
'output': 'output_dca.h5ad',
'epochs': 300,
}
Expand Down
2 changes: 1 addition & 1 deletion src/methods/knn_smoothing/script.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

## VIASH START
par = {
'input_train': 'resources_test/denoising/pancreas/train.h5ad',
'input_train': 'resources_test/denoising/cxg_mouse_pancreas_atlas/train.h5ad',
'output': 'output_knn.h5ad',
}
meta = {
Expand Down
2 changes: 1 addition & 1 deletion src/methods/magic/script.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

## VIASH START
par = {
"input_train": "resources_test/denoising/pancreas/train.h5ad",
"input_train": "resources_test/denoising/cxg_mouse_pancreas_atlas/train.h5ad",
"output": "output_magic.h5ad",
"solver": "exact",
"norm": "sqrt",
Expand Down
2 changes: 1 addition & 1 deletion src/methods/saver/script.R
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ library(Matrix, warn.conflicts = FALSE)

## VIASH START
par <- list(
input_train = "resources_test/denoising/pancreas/train.h5ad",
input_train = "resources_test/denoising/cxg_mouse_pancreas_atlas/train.h5ad",
norm = "log",
output = "output.h5ad"
)
Expand Down
4 changes: 2 additions & 2 deletions src/metrics/mse/script.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@

## VIASH START
par = {
'input_test': 'resources_test/denoising/pancreas/test.h5ad',
'input_prediction': 'resources_test/denoising/pancreas/denoised.h5ad',
'input_test': 'resources_test/denoising/cxg_mouse_pancreas_atlas/test.h5ad',
'input_prediction': 'resources_test/denoising/cxg_mouse_pancreas_atlas/denoised.h5ad',
'output': 'output_mse.h5ad'
}
meta = {
Expand Down

0 comments on commit 176bca1

Please sign in to comment.