Skip to content

Commit 28ef52a

Browse files
committed
Fix various environment installation issues
1 parent aab4559 commit 28ef52a

File tree

6 files changed

+31
-10
lines changed

6 files changed

+31
-10
lines changed

.gitignore

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -165,9 +165,10 @@ configs/local/default.yaml
165165
# Forks
166166
/workdir/
167167
/forks/alphafold3/*prediction_outputs/
168-
/forks/chai-lab/chai-lab/
169-
/forks/chai-lab/prediction_inputs/
170-
/forks/chai-lab/prediction_outputs/
168+
/forks/chai-lab-orig/
169+
/forks/chai-lab*/chai-lab/
170+
/forks/chai-lab*/prediction_inputs/
171+
/forks/chai-lab*/prediction_outputs/
171172
/forks/DiffDock1.0/
172173
/forks/DiffDock/DiffDock/
173174
/forks/DynamicBind/*.npy

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -55,9 +55,9 @@ To reproduce, customize, or extend the `PoseBench` benchmark, we recommend fully
5555
First, install `mamba` for dependency management (as a fast alternative to Anaconda)
5656

5757
```bash
58-
wget "https://github.com/conda-forge/miniforge/releases/latest/download/Mambaforge-$(uname)-$(uname -m).sh"
59-
bash Mambaforge-$(uname)-$(uname -m).sh # accept all terms and install to the default location
60-
rm Mambaforge-$(uname)-$(uname -m).sh # (optionally) remove installer after using it
58+
wget "https://github.com/conda-forge/miniforge/releases/download/24.11.3-0/Miniforge3-$(uname)-$(uname -m).sh"
59+
bash Miniforge3-$(uname)-$(uname -m).sh # accept all terms and install to the default location
60+
rm Miniforge3-$(uname)-$(uname -m).sh # (optionally) remove installer after using it
6161
source ~/.bashrc # alternatively, one can restart their shell session to achieve the same result
6262
```
6363

@@ -84,7 +84,7 @@ pip install -e . --no-deps
8484
# - casp15_ligand_scoring environment (~3 GB)
8585
mamba env create -f environments/casp15_ligand_scoring_environment.yaml
8686
conda activate casp15_ligand_scoring # NOTE: one still needs to use `conda` to (de)activate environments
87-
pip3 install -e .
87+
pip3 install -e . # NOTE: must comment out `posecheck` requirement in `pyproject.toml` beforehand and restore it thereafter
8888
# - DiffDock environment (~13 GB)
8989
mamba env create -f environments/diffdock_environment.yaml --prefix forks/DiffDock/DiffDock/
9090
conda activate forks/DiffDock/DiffDock/ # NOTE: one still needs to use `conda` to (de)activate environments

environments/casp15_ligand_scoring_environment.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,5 +104,5 @@ dependencies:
104104
- scipy==1.7.3
105105
- six==1.16.0
106106
- spyrmsd==0.6.0
107-
- tqdm-4.67.1
107+
- tqdm==4.67.1
108108
- zipp==3.15.0

environments/posebench_environment.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ dependencies:
196196
- mkl=2022.1.0=h84fe81f_915
197197
- mkl-devel=2022.1.0=ha770c72_916
198198
- mkl-include=2022.1.0=h84fe81f_915
199-
- mmseqs2=17.b804f=hd6d6fdc_1
199+
# - mmseqs2=17.b804f=hd6d6fdc_1 # NOTE: This package is only required for failure mode analyses
200200
- mpc=1.3.1=hfe3b2da_0
201201
- mpfr=4.2.1=h9458935_1
202202
- munkres=1.1.4=pyh9f0ad1d_0

notebooks/failure_modes_analysis_plotting.ipynb

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,26 @@
3636
"from posebench.utils.data_utils import parse_fasta"
3737
]
3838
},
39+
{
40+
"cell_type": "markdown",
41+
"metadata": {},
42+
"source": [
43+
"#### Install MMseqs2"
44+
]
45+
},
46+
{
47+
"cell_type": "code",
48+
"execution_count": null,
49+
"metadata": {
50+
"vscode": {
51+
"languageId": "shellscript"
52+
}
53+
},
54+
"outputs": [],
55+
"source": [
56+
"!mamba install -c bioconda mmseqs2=17.b804f=hd6d6fdc_1"
57+
]
58+
},
3959
{
4060
"cell_type": "markdown",
4161
"metadata": {},

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ dependencies = [
7070
"seaborn", # for plotting
7171
"setuptools", # for packaging
7272
"spyrmsd", # for RMSD calculations
73-
"wrapt_timeout_decorator>=1.5.1", # for preventing certain functions from executing indefinitely
73+
"wrapt_timeout_decorator", # for preventing certain functions from executing indefinitely
7474
"tqdm", # progress bars
7575
"loguru", # for cleaner logging
7676
]

0 commit comments

Comments
 (0)