From f2f22510abe31862caa1844288c8b16175e67f5a Mon Sep 17 00:00:00 2001 From: romainGuiet Date: Fri, 11 Oct 2024 13:05:08 +0200 Subject: [PATCH 1/2] fix default_conda_env_path for linux so it matches biop-desktop --- .../ch/epfl/biop/wrappers/cellpose/ij2commands/Cellpose.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/ch/epfl/biop/wrappers/cellpose/ij2commands/Cellpose.java b/src/main/java/ch/epfl/biop/wrappers/cellpose/ij2commands/Cellpose.java index 29140e7..ec1676d 100644 --- a/src/main/java/ch/epfl/biop/wrappers/cellpose/ij2commands/Cellpose.java +++ b/src/main/java/ch/epfl/biop/wrappers/cellpose/ij2commands/Cellpose.java @@ -32,7 +32,7 @@ public class Cellpose implements Command { static { if (IJ.isLinux()) { - default_conda_env_path = "/home/biop/conda/envs/cellpose"; // to ease setting on biop-desktop } + default_conda_env_path = "/opt/conda/envs/cellpose"; // to ease setting on biop-desktop } } else if (IJ.isWindows()) { default_conda_env_path = "C:/Users/username/.conda/envs/cellpose"; } else if (IJ.isMacOSX()) { From 42109201470dd5fefdda32c78811207358cf98e7 Mon Sep 17 00:00:00 2001 From: romainGuiet Date: Fri, 11 Oct 2024 13:06:31 +0200 Subject: [PATCH 2/2] fix default_conda_env_path for omnipose too --- .../ch/epfl/biop/wrappers/omnipose/ij2commands/Omnipose.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/ch/epfl/biop/wrappers/omnipose/ij2commands/Omnipose.java b/src/main/java/ch/epfl/biop/wrappers/omnipose/ij2commands/Omnipose.java index 2cbacf1..4d44812 100644 --- a/src/main/java/ch/epfl/biop/wrappers/omnipose/ij2commands/Omnipose.java +++ b/src/main/java/ch/epfl/biop/wrappers/omnipose/ij2commands/Omnipose.java @@ -33,7 +33,7 @@ public class Omnipose implements Command { static { if (IJ.isLinux()) { - default_conda_env_path = "/home/biop/conda/envs/omnipose"; // to ease setting on biop-desktop } + default_conda_env_path = "/opt/conda/envs/omnipose"; // to ease setting on biop-desktop } } else if (IJ.isWindows()) { default_conda_env_path = "C:/Users/username/.conda/envs/omnipose"; } else if (IJ.isMacOSX()) {