Skip to content

Commit

Permalink
fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
davidbailey committed Dec 16, 2023
1 parent c615c2e commit 85e5c61
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 11 deletions.
2 changes: 1 addition & 1 deletion docs/notebooks/agent-based_transportation_model.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"metadata": {},
"source": [
"# Agent-based Transportation Model"
]
]
},
{
"cell_type": "code",
Expand Down
6 changes: 3 additions & 3 deletions docs/notebooks/gravity_model.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -704,7 +704,7 @@
}
],
"source": [
"style_function = lambda x: {\"radius\": x[\"properties\"][\"population\"]/1000000}\n",
"style_function = lambda x: {\"radius\": x[\"properties\"][\"population\"] / 1000000}\n",
"csa.explore(style_kwds={\"style_function\": style_function})"
]
},
Expand Down Expand Up @@ -3974,8 +3974,8 @@
"style_function = lambda x: {\"weight\": x[\"properties\"][\"passengers\"]}\n",
"m = routes.explore(style_kwds={\"style_function\": style_function})\n",
"\n",
"style_function = lambda x: {\"radius\": x[\"properties\"][\"population\"]/1000000}\n",
"csa.explore(m = m, style_kwds={\"style_function\": style_function})"
"style_function = lambda x: {\"radius\": x[\"properties\"][\"population\"] / 1000000}\n",
"csa.explore(m=m, style_kwds={\"style_function\": style_function})"
]
},
{
Expand Down
2 changes: 1 addition & 1 deletion dpd/modeling/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from .agent-based_transportation_model import AgentBasedTransportationModel
from .agent_based_transportation_model import AgentBasedTransportationModel
from .agent_based_dict import AgentBasedDict
from .agent_based_intersections import AgentBasedIntersections
from .agent_based_links import AgentBasedLinks
Expand Down
5 changes: 0 additions & 5 deletions dpd/modeling/agent-based_transportation_model.py

This file was deleted.

2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,6 @@
"flake8",
"isort",
"pytest",
"pytest-cov"
"pytest-cov",
],
)

0 comments on commit 85e5c61

Please sign in to comment.