Skip to content

Commit

Permalink
Install from pip in notebook
Browse files Browse the repository at this point in the history
  • Loading branch information
SGenheden committed Mar 27, 2023
1 parent af6a4c0 commit 5396046
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions contrib/notebook.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,13 @@
"source": [
"#@title Installation -- Run this cell to install AiZynthFinder\n",
"\n",
"!(AIZ_LATEST_TAG=$(git -c 'versionsort.suffix=-' \\\n",
" ls-remote --exit-code --refs --sort='version:refname' --tags https://github.com/MolecularAI/aizynthfinder '*.*.*' \\\n",
" | tail --lines=1 \\\n",
" | cut -f 3 -d /) \\\n",
" && pip install --quiet https://github.com/MolecularAI/aizynthfinder/archive/${AIZ_LATEST_TAG}.tar.gz)\n",
"# This might not install the dependencies that you need",
"#!(AIZ_LATEST_TAG=$(git -c 'versionsort.suffix=-' \\\n",
"# ls-remote --exit-code --refs --sort='version:refname' --tags https://github.com/MolecularAI/aizynthfinder '*.*.*' \\\n",
"# | tail --lines=1 \\\n",
"# | cut -f 3 -d /) \\\n",
"# && pip install --quiet https://github.com/MolecularAI/aizynthfinder/archive/${AIZ_LATEST_TAG}.tar.gz)\n",
"!pip install --quiet aizynthfinder[all]",
"!mkdir --parents data && download_public_data data\n"
]
},
Expand Down

0 comments on commit 5396046

Please sign in to comment.