sbamin / code101

My notes on programming, mostly using R, Python, and bash.
https://code.sbamin.com
MIT License
4 stars 2 forks source link

Update conda bkup script #7

Closed github-actions[bot] closed 2 years ago

github-actions[bot] commented 2 years ago

Update conda bkup script

use mamba instead of conda

https://github.com/sbamin/code101/blob/ebf22059e55075dd65393c2546c247c362539f96/confs/hpc/user_env/bin/conda_bkup.sh#L9


## get current conda env name
CURRENT_CONDA_ENV=${CONDA_DEFAULT_ENV:-"root"}

# TODO Update conda bkup script
#  use mamba instead of conda
#  labels: enhancement, help wanted, ToDo
#  assignees: sbamin
#  milestone: rolling

BKUP_LOC="${HOME}/conda_env_bkup/sumner/${CURRENT_CONDA_ENV}/${TSTAMP}"
mkdir -p "${BKUP_LOC}"

## make output file names
BKUP_ENV=$(printf "%s_environment_%s.yml" "${CURRENT_CONDA_ENV}" "$TSTAMP")

0a5519b5478a7bfe3d25337d538271cbb11609e3

github-actions[bot] commented 2 years ago

Closed in bfe1fc803fbd7ed4a41a7ff57c4c5a6cea25a6ca