Skip to content

Commit

Permalink
fixed conda prefix path
Browse files Browse the repository at this point in the history
  • Loading branch information
idfarbanecha committed Jul 7, 2021
1 parent 2cf9a2e commit 04f993b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mess/mess.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ def run_workflow(conda_prefix, config_file, dryrun_status, ncbi_requests, nb_sim
if conda_prefix is None:
conda_prefix = os.environ['CONDA_PREFIX']
if not os.path.exists(conda_prefix):
logging.critical(f"conda env path not found: {config_file}\n")
logging.critical(f"conda env path not found: {conda_prefix}")
sys.exit(1)
cmd = (
f"snakemake --snakefile {get_snakefile()} --configfile {config_file} --use-conda --conda-prefix {conda_prefix} "
Expand Down

0 comments on commit 04f993b

Please sign in to comment.