Skip to content

Commit

Permalink
added patch for rm permissions bug
Browse files Browse the repository at this point in the history
  • Loading branch information
dmarx committed Feb 2, 2022
1 parent e8fc45a commit 25403d0
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions pyttitools-PYTTI.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -338,8 +338,19 @@
" if not path_exists('./pytti'):\n",
" !git clone https://github.com/pytti-tools/pytti-core.git pytti &> /dev/null\n",
" else:\n",
" !rm -r pytti\n",
" !git clone https://github.com/pytti-tools/pytti-core.git pytti\n",
" try:\n",
" !rm -r pytti\n",
" !git clone https://github.com/pytti-tools/pytti-core.git pytti\n",
" except Exception as ex:\n",
" logger.warning(\n",
" str(ex)\n",
" )\n",
" logger.warning(\n",
" \"A `pytti` folder already exists and could not be deleted.\"\n",
" \"If you encounter problems, try deleting that folder and trying again.\"\n",
" \"Please report this and any other issues here: \"\n",
" \"https://github.com/pytti-tools/pytti-notebook/issues/new\",\n",
" exc_info=True)\n",
" !pip install -r pytti/requirements.txt\n",
" !git clone https://github.com/shariqfarooq123/AdaBins.git &> /dev/null\n",
" !git clone https://github.com/zacjiang/GMA.git &> /dev/null\n",
Expand Down

0 comments on commit 25403d0

Please sign in to comment.