Skip to content

Commit

Permalink
Merge pull request #780 from mattobny/suite_dev
Browse files Browse the repository at this point in the history
Remove unnecessary modular package reference(s)
  • Loading branch information
mattobny authored Oct 19, 2023
2 parents a82239c + 100a124 commit 38bd1fc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions R/python_environment.R
Original file line number Diff line number Diff line change
Expand Up @@ -497,7 +497,7 @@ set_giotto_python_path = function(python_path = NULL,
py_install_prompt <- function (package = NULL,
env = NULL){
if(is.null(package) | is.null(env)) {
stop(GiottoUtils::wrap_txt("Incorrect Usage.\n", errWidth = TRUE))
stop(wrap_txt("Incorrect Usage.\n", errWidth = TRUE))
}

install_py_pkg_msg = paste0("Python package `",
Expand Down Expand Up @@ -526,7 +526,7 @@ py_install_prompt <- function (package = NULL,
install_github_link_pip <- function(link = NULL,
env = NULL){
# Guard
if (is.null(link) | is.null(env)) stop(GiottoUtils::wrap_txt("Incorrect Usage.", errWidth = TRUE))
if (is.null(link) | is.null(env)) stop(wrap_txt("Incorrect Usage.", errWidth = TRUE))

config <- reticulate::py_discover_config(use_environment=env)
# system commands return 0 if ran successfully, 1 otherwise
Expand Down

0 comments on commit 38bd1fc

Please sign in to comment.