Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,7 @@ USER root
RUN chown -R ${NB_UID} ${HOME}

USER ${NB_USER}

ENV PYTHONPATH /repo/example-paper-fenics/code:${PYTHONPATH}

ENTRYPOINT []
19 changes: 0 additions & 19 deletions docs/demo.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -40,25 +40,6 @@
"!ls mesh"
]
},
{
"cell_type": "markdown",
"id": "f3327106",
"metadata": {},
"source": [
"Now we need to make sure that we can import the fuctions from the `code` folder. We can do this by adding the `code` folder to `sys.path`. "
]
},
{
"cell_type": "code",
"execution_count": null,
"id": "2a251028",
"metadata": {},
"outputs": [],
"source": [
"import sys\n",
"sys.path.insert(0, \"../code\")"
]
},
{
"cell_type": "markdown",
"id": "4610db02",
Expand Down