Skip to content
Open
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
22 changes: 17 additions & 5 deletions 01_introduction/05_running_nodes.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@
"outputs": [],
"source": [
"from get_tutorial import download\n",
"\n",
"download()\n",
"!ls inputs/ala*"
]
Expand Down Expand Up @@ -219,7 +220,12 @@
"metadata": {},
"outputs": [],
"source": [
"input = {\"files\": [\"inputs/ala.crd\", \"inputs/ala.top\"], \"steps\": 1000}"
"import os\n",
"\n",
"input = {\n",
" \"files\": [os.path.abspath(\"inputs/ala.crd\"), os.path.abspath(\"inputs/ala.top\")],\n",
" \"steps\": 1000,\n",
"}"
]
},
{
Expand All @@ -235,7 +241,7 @@
"metadata": {},
"outputs": [],
"source": [
"output = BSS.Node.run(\"minimise\", input)"
"output = BSS.Node.run(\"minimise\", input, work_dir=\"TEST\")"
]
},
{
Expand Down Expand Up @@ -328,11 +334,18 @@
"source": [
"!bash scripts/workflow.sh"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
}
],
"metadata": {
"kernelspec": {
"display_name": "Python 3 (ipykernel)",
"display_name": "bsstutorials",
"language": "python",
"name": "python3"
},
Expand All @@ -345,8 +358,7 @@
"mimetype": "text/x-python",
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.10.12"
"pygments_lexer": "ipython3"
}
},
"nbformat": 4,
Expand Down
Loading