-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhint.sh
21 lines (17 loc) · 1.03 KB
/
hint.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# pip install uv
# uv will be responsible for updating all dependencies in the benchmark, the uv.lock file need to be pushed each time
python3 -m uv sync # for conda-free python
uv sync # ensures my environment matches the uv.lock file
uv lock --upgrade-package causalSpyne # <package> does not have to be in pip, this is specified in pyproject.toml
uv lock --upgrade-package causalspyne; uv sync # to upgrade the package and sync the environment together
# e.g. uv lock --upgrade-package pyqt6-qt6==6.7.1 to downgrade 6.8.0 to 6.7.1 to avoid platform
# consistency problems.
# [tool.uv.sources]
# causalspyne = { git = "https://github.com/marrlab/causalspyne" }
snakemake all # don't use this
uv run snakemake all # this does not require installation of snakemake, uv will create a temporary virtural environment
#uv add numpy will add new packages
#uv add [email protected]
uv run snakemake --rerun-incomplete -j 10 to start again
# final results live in the "results" directory
# in the workflow diretory you can find the snakefile