Skip to content

Commit

Permalink
updated colab_setup with pip install
Browse files Browse the repository at this point in the history
  • Loading branch information
luigibonati committed Jun 1, 2023
1 parent 969714a commit 25578bc
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions colab_setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,10 @@ else
notebook_type=$1
echo Setting up Colab environment.

git clone --quiet https://github.com/luigibonati/mlcolvar.git mlcolvar
pip install mlcolvar
echo - Installed mlcolvar

git clone --quiet --depth 1 https://github.com/luigibonati/mlcolvar.git mlcolvar
echo - Cloned mlcolvar from git

if [ "$notebook_type" == "TUTORIAL" ]; then
Expand All @@ -29,12 +32,6 @@ else
echo - Copied tutorials + papers_experiments data
fi

cd mlcolvar
pip install -r requirements.txt -q .
echo - Installed mlcolvar requirements
echo - Installed mlcolvar

cd ../
rm -r mlcolvar
echo - Removed mlcolvar folder

Expand Down

0 comments on commit 25578bc

Please sign in to comment.