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)