From 100a12425ae27bf3084daabdb42cb52b4df1c560 Mon Sep 17 00:00:00 2001 From: mattobny Date: Thu, 19 Oct 2023 13:59:23 -0400 Subject: [PATCH] remove reference to GiottoUtils for non-modular Suite --- R/python_environment.R | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/R/python_environment.R b/R/python_environment.R index e5101d2b4..60522acc4 100644 --- a/R/python_environment.R +++ b/R/python_environment.R @@ -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 `", @@ -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