File tree Expand file tree Collapse file tree 1 file changed +13
-2
lines changed
Expand file tree Collapse file tree 1 file changed +13
-2
lines changed Original file line number Diff line number Diff line change 338338 " if not path_exists('./pytti'):\n " ,
339339 " !git clone https://github.com/pytti-tools/pytti-core.git pytti &> /dev/null\n " ,
340340 " else:\n " ,
341- " !rm -r pytti\n " ,
342- " !git clone https://github.com/pytti-tools/pytti-core.git pytti\n " ,
341+ " try:\n " ,
342+ " !rm -r pytti\n " ,
343+ " !git clone https://github.com/pytti-tools/pytti-core.git pytti\n " ,
344+ " except Exception as ex:\n " ,
345+ " logger.warning(\n " ,
346+ " str(ex)\n " ,
347+ " )\n " ,
348+ " logger.warning(\n " ,
349+ " \" A `pytti` folder already exists and could not be deleted.\"\n " ,
350+ " \" If you encounter problems, try deleting that folder and trying again.\"\n " ,
351+ " \" Please report this and any other issues here: \"\n " ,
352+ " \" https://github.com/pytti-tools/pytti-notebook/issues/new\" ,\n " ,
353+ " exc_info=True)\n " ,
343354 " !pip install -r pytti/requirements.txt\n " ,
344355 " !git clone https://github.com/shariqfarooq123/AdaBins.git &> /dev/null\n " ,
345356 " !git clone https://github.com/zacjiang/GMA.git &> /dev/null\n " ,
You can’t perform that action at this time.
0 commit comments