Skip to content

Commit

Permalink
add conda options
Browse files Browse the repository at this point in the history
  • Loading branch information
psathyrella committed Sep 20, 2024
1 parent 71ea598 commit 6d391f7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions bin/gctree-run.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,10 @@ def idfn():
def install():
cmds = ['#!/bin/bash']
cmds += utils.mamba_cmds(args.env_label, only_prep=True)
cmds += ['micromamba create -n %s -c conda-forge python=3.9' % args.env_label] # 3.10 currently has problems with ete
cmds += ['micromamba create -y -n %s -c conda-forge python=3.9' % args.env_label] # 3.10 currently has problems with ete
cmds += ['micromamba activate %s' % args.env_label]
cmds += ['micromamba install -c bioconda -c conda-forge phylip']
cmds += ['micromamba install -c conda-forge%s click' % ('' if args.no_dag else ' gctree')]
cmds += ['micromamba install -y -c bioconda -c conda-forge phylip']
cmds += ['micromamba install -y -c conda-forge%s click' % ('' if args.no_dag else ' gctree')]
if args.no_dag:
cmds += ['pip install gctree==3.3.0'] # I think having --user makes it install in ~/.local (outside mamba env)
# micromamba remove -n gctree --all # to nuke it and start over
Expand Down
4 changes: 2 additions & 2 deletions projects/igphyml-run.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@
def install():
cmds = ['#!/bin/bash']
cmds += utils.mamba_cmds(args.env_label, only_prep=True)
cmds += ['micromamba create -n %s' % args.env_label]
cmds += ['micromamba create -y -n %s' % args.env_label]
cmds += ['micromamba activate %s' % args.env_label] # python= 3.6 and 3.9 failed, so i let it choose, it chose 3.5 which seems to work
cmds += ['micromamba install -c bioconda -c conda-forge changeo']
cmds += ['micromamba install -y -c bioconda -c conda-forge changeo']
# micromamba remove --all -n args.env_label # to nuke it and start over
cmds += ['cd packages']
cmds += ['git clone https://bitbucket.org/kleinstein/igphyml']
Expand Down

0 comments on commit 6d391f7

Please sign in to comment.