Skip to content

Commit

Permalink
java doc and small change
Browse files Browse the repository at this point in the history
  • Loading branch information
carlosuc3m committed Sep 9, 2024
1 parent 6241d8c commit 477fd78
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ public boolean checkSAMDepsInstalled() {
* {@value #ESAM_ENV_NAME}. The Python executable and other dependencies will be at {@value #ESAM_ENV_NAME}
* @return whether the Python package to run EfficientSAM has been installed.
*/
public boolean checkEfficientSAMPackageInstalled() {
private boolean checkEfficientSAMPackageInstalled() {
if (!checkMambaInstalled()) return false;
File pythonEnv = Paths.get(this.path, "envs", ESAM_ENV_NAME, ESAM_NAME).toFile();
if (!pythonEnv.exists() || pythonEnv.list().length <= 1) return false;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -222,10 +222,10 @@ public boolean checkSAMDepsInstalled() {

/**
* Check whether the Python package to run EfficientSAM has been installed. The package will be in the folder
* {@value #ESAM_ENV_NAME}. The Python executable and other dependencies will be at {@value #EVITSAM_ENV_NAME}
* {@value #EVITSAM_ENV_NAME}. The Python executable and other dependencies will be at {@value #EVITSAM_ENV_NAME}
* @return whether the Python package to run EfficientSAM has been installed.
*/
public boolean checkEfficientViTSAMPackageInstalled() {
private boolean checkEfficientViTSAMPackageInstalled() {
if (!checkMambaInstalled()) return false;
File pythonEnv = Paths.get(this.path, "envs", EVITSAM_ENV_NAME, EVITSAM_NAME).toFile();
if (!pythonEnv.exists() || pythonEnv.list().length <= 1) return false;
Expand Down

0 comments on commit 477fd78

Please sign in to comment.