Skip to content

Commit

Permalink
Changed default python version
Browse files Browse the repository at this point in the history
  • Loading branch information
dipterix committed Nov 8, 2024
1 parent 0d1244e commit f018fc1
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 5 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@
.Ruserdata
adhoc
docs
.DS_Store
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: rpyANTs
Title: An Alternative Advanced Normalization Tools ('ANTs')
Version: 0.0.3.9005
Version: 0.0.3.9006
Authors@R:
person("Zhengjia", "Wang", email = "dipterix.wang@gmail.com",
role = c("aut", "cre"))
Expand Down
5 changes: 3 additions & 2 deletions R/aaa.R
Original file line number Diff line number Diff line change
Expand Up @@ -73,11 +73,12 @@ validate_python <- function(verbose = TRUE) {

#' @title Install 'ANTs' via 'ANTsPy'
#' @param python_ver 'Python' version, see \code{\link[rpymat]{configure_conda}};
#' default is \code{"3.9"} since \code{'ANTsPy'} is compiled for all
#' default is \code{"3.11"} since \code{'ANTsPy'} is compiled for all platforms
#' under this version
#' @param verbose whether to print the installation messages
#' @returns This function returns nothing.
#' @export
install_ants <- function(python_ver = "3.9", verbose = TRUE) {
install_ants <- function(python_ver = "3.11", verbose = TRUE) {
# Install conda and create a conda environment
if(!dir.exists(rpymat::env_path())) {
standalone <- !file.exists(rpymat::conda_bin())
Expand Down
5 changes: 3 additions & 2 deletions man/install_ants.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit f018fc1

Please sign in to comment.