From e456be07d38c7cf5a23ed82fa5bc81a8fe81aea0 Mon Sep 17 00:00:00 2001 From: Carlo Ferrigno Date: Thu, 8 Feb 2024 18:33:01 +0100 Subject: [PATCH] Add Miniconda share path for sextractor --- mosaic/treat.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/mosaic/treat.py b/mosaic/treat.py index a71af31..71b0458 100644 --- a/mosaic/treat.py +++ b/mosaic/treat.py @@ -29,7 +29,10 @@ if not os.path.isdir(sextractor_share): sextractor_share = "/opt/conda/share/sextractor/" if not os.path.isdir(sextractor_share): - raise Exception('No sextractor share available') + sextractor_share = "/opt/miniconda/share/sextractor/" + if not os.path.isdir(sextractor_share): + raise Exception('No sextractor share available') + def render(*args): logger.info('%s', *args)