Skip to content

Commit

Permalink
propose dynamic selection of scvelo dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinrue committed May 22, 2024
1 parent 186e6a3 commit ade4aaa
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions R/basilisk.R
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
# scvelo 0.2.5
# and dependencies pinned to fix various issues linked below
.scvelo_dependencies <- c(
.scvelo_dependencies <- list(
"x86_64" = c(
"scvelo==0.2.5"
),
"aarch64" = c(
'absl-py==2.1.0',
'anndata==0.10.7',
'annotated-types==0.7.0',
Expand Down Expand Up @@ -340,6 +344,7 @@
'zeromq==4.3.5',
'zipp==3.17.0',
'zstd==1.5.6'
)
)

# Note:
Expand All @@ -353,4 +358,4 @@
#' @importFrom basilisk BasiliskEnvironment
#' @importFrom zellkonverter AnnDataDependencies
velo.env <- BasiliskEnvironment("env", "velociraptor",
packages=.scvelo_dependencies, channels = c("conda-forge", "bioconda"))
packages=.scvelo_dependencies[[R.version$arch]], channels = c("conda-forge", "bioconda"))

0 comments on commit ade4aaa

Please sign in to comment.