Skip to content

Commit

Permalink
Reformat
Browse files Browse the repository at this point in the history
  • Loading branch information
corentinlger committed Mar 25, 2024
1 parent 560b100 commit 3ad5c48
Showing 1 changed file with 20 additions and 8 deletions.
28 changes: 20 additions & 8 deletions notebooks/session_1.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,25 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"For this session, we only need one agent in the simulation. To do so, the server can be started in the command line with the options `--n_agents 1` and `n_objects 0`.\n",
"For this session, we only need one agent in the simulation. To do so, the server can be started in the command line with the options `--n_agents 1` and `n_objects 1`.\n",
"<!-- TODO: change this with file system once done !-->\n",
"<!-- TODO: set objects to 0 !-->\n",
"<!-- TODO: set objects to 0 !-->"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"```bash\n",
"python scripts/run_server.py --n_agents 1 --n_objects 0\n",
"```\n",
"\n",
"This time, check the `Visible wheels` and `Visible proxs` checkboxes under the **Visualization configurations**."
"```"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"This time, run the interface and check the `Visible wheels` and `Visible proxs` checkboxes under the **Visualization configurations**."
]
},
{
Expand All @@ -48,8 +59,9 @@
"metadata": {},
"outputs": [],
"source": [
"from vivarium.controllers.notebook_controller import NotebookController\n",
"import numpy as np\n",
"from vivarium.controllers.notebook_controller import NotebookController\n",
"\n",
"controller = NotebookController()"
]
},
Expand Down Expand Up @@ -424,7 +436,7 @@
},
{
"cell_type": "code",
"execution_count": 26,
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -448,7 +460,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.11.8"
"version": "3.10.12"
}
},
"nbformat": 4,
Expand Down

0 comments on commit 3ad5c48

Please sign in to comment.