Skip to content

Commit

Permalink
Added PathLims installation via PyPI in the notebooks
Browse files Browse the repository at this point in the history
  • Loading branch information
gorkazl committed Nov 22, 2019
1 parent 0899aa6 commit 39fd35e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 21 deletions.
15 changes: 4 additions & 11 deletions Examples/EmpiricalNets_Directed.ipynb
Expand Up @@ -85,16 +85,9 @@
" # Install from PyPI\n",
" print('Installing GAlib...')\n",
" ! pip install galib\n",
" import galib"
]
},
{
"cell_type": "code",
"execution_count": 3,
"metadata": {},
"outputs": [],
"source": [
"import galib.models\n",
" import galib\n",
"\n",
" import galib.models\n",
"import galib.tools\n",
"import galib.metrics_numba"
]
Expand All @@ -111,7 +104,7 @@
"except:\n",
" # Install from the GitHub repository\n",
" print('Installing PathLims...')\n",
" ! pip install git+https://github.com/gorkazl/PathLims.git@Dev_v1.0.0\n",
" ! pip install pathlims\n",
"\n",
"import pathlims\n",
"import pathlims.limits as lims\n",
Expand Down
13 changes: 3 additions & 10 deletions Examples/EmpiricalNets_Undirected.ipynb
Expand Up @@ -85,15 +85,8 @@
" # Install from PyPI\n",
" print('Installing GAlib...')\n",
" ! pip install galib\n",
" import galib"
]
},
{
"cell_type": "code",
"execution_count": 3,
"metadata": {},
"outputs": [],
"source": [
" import galib\n",
"\n",
"import galib.models\n",
"import galib.tools\n",
"import galib.metrics_numba"
Expand All @@ -111,7 +104,7 @@
"except:\n",
" # Install from the GitHub repository\n",
" print('Installing PathLims...')\n",
" ! pip install git+https://github.com/gorkazl/PathLims.git@Dev_v1.0.0\n",
" ! pip install pathlims\n",
"\n",
"import pathlims\n",
"import pathlims.limits as lims\n",
Expand Down

0 comments on commit 39fd35e

Please sign in to comment.