Skip to content

Commit

Permalink
add resources in downstream
Browse files Browse the repository at this point in the history
  • Loading branch information
littlecabiria committed Aug 26, 2024
1 parent 7fb85e6 commit ce87a69
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
1 change: 1 addition & 0 deletions src/metrics/downstream/config.vsh.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ info:
resources:
- type: r_script
path: script.R
- path: /src/helpers/utils.R

engines:
- type: docker
Expand Down
6 changes: 4 additions & 2 deletions src/metrics/downstream/script.R
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,12 @@ par <- list(
output = "output.h5ad"
)
meta <- list(
name = "downstream"
# resources_dir = "target/executable/metrics/ks_statistics_scFeatures"
name = "downstream",
resources_dir = "target/executable/metrics/downstream"
)

source(paste0(meta[["resources_dir"]], "/utils.R"))

## VIASH END
input_real_sp <- anndata::read_h5ad(par$input_spatial_dataset)
input_sc <- anndata::read_h5ad(par$input_singlecell_dataset)
Expand Down

0 comments on commit ce87a69

Please sign in to comment.