Skip to content

Commit

Permalink
fixing biopython 1.81
Browse files Browse the repository at this point in the history
  • Loading branch information
sokrypton committed Dec 22, 2023
1 parent 5bb28b0 commit 31f33cc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions AlphaFold2.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,7 @@
" os.system(\"ln -s /usr/local/lib/python3.*/dist-packages/alphafold alphafold\")\n",
" # patch for jax > 0.3.25\n",
" os.system(\"sed -i 's/weights = jax.nn.softmax(logits)/logits=jnp.clip(logits,-1e8,1e8);weights=jax.nn.softmax(logits)/g' alphafold/model/modules.py\")\n",
" os.system(\"pip install -q biopython==1.81\")\n",
" os.system(\"touch COLABFOLD_READY\")\n",
"\n",
"if USE_AMBER or USE_TEMPLATES:\n",
Expand Down

0 comments on commit 31f33cc

Please sign in to comment.