Skip to content

Commit

Permalink
added path append for binder
Browse files Browse the repository at this point in the history
  • Loading branch information
axiezai committed Nov 4, 2019
1 parent 62256fc commit c26fbfb
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions spectrome/notebooks/SGM_frequency_responses.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@
"metadata": {},
"outputs": [],
"source": [
"# this path append is for binder only\n",
"import sys\n",
"sys.path.append(\"../../\")\n",
"\n",
"#spectrome modules\n",
"from spectrome.forward import runforward\n",
"from spectrome.utils import functions, path, generate\n",
Expand Down
4 changes: 4 additions & 0 deletions spectrome/notebooks/run_model.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,10 @@
"metadata": {},
"outputs": [],
"source": [
"# this path append is for binder only\n",
"import sys\n",
"sys.path.append(\"../../\")\n",
"\n",
"#spectrome modules\n",
"from spectrome.forward import runforward\n",
"from spectrome.utils import functions, path\n",
Expand Down

0 comments on commit c26fbfb

Please sign in to comment.