Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump dependency versions #77

Merged
merged 12 commits into from
Jul 15, 2024
604 changes: 388 additions & 216 deletions poetry.lock

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ simulariumio = "^1.7.0"
matplotlib = "^3.7.2"

[tool.poetry.group.dev.dependencies]
black = "^22.12.0"
black = "^24.3.0"
isort = "^5.12.0"
mypy = "^1.3.0"
pylint = "^2.16.2"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ def format_patch_for_shapes(
graph_tar, series_key, frame, "GRAPH", field="graph"
)

for (from_node, to_node, edge) in graph_timepoint:
for from_node, to_node, edge in graph_timepoint:
edge_type, radius, _, _, _, _, flow = edge

name = f"VASCULATURE##{'UNDEFINED' if isnan(flow) else EDGE_TYPES[edge_type + 2]}"
Expand Down
2 changes: 1 addition & 1 deletion src/arcade_collection/output/parse_growth_file.py
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ def parse_growth_timepoint(timepoint: dict, seed: int) -> list:
parsed_data = []
time = timepoint["time"]

for (location, cells) in timepoint["cells"]:
for location, cells in timepoint["cells"]:
u, v, w, z = location

for cell in cells:
Expand Down
4 changes: 4 additions & 0 deletions tests/arcade_collection/output/test_convert_model_units.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,3 +51,7 @@ def test_estimate_spatial_resolution_invalid_spatiall_key(self):
self.assertEqual(1, estimate_spatial_resolution(f"{ds_key}_B_C"))
self.assertEqual(1, estimate_spatial_resolution(f"A_{ds_key}_C"))
self.assertEqual(1, estimate_spatial_resolution(f"A_B_{ds_key}"))


if __name__ == "__main__":
unittest.main()
4 changes: 4 additions & 0 deletions tests/arcade_collection/output/test_parse_growth_file.py
Original file line number Diff line number Diff line change
Expand Up @@ -123,3 +123,7 @@ def test_parse_growth_timepoint(self):

expected_df = pd.DataFrame(expected_dict)
self.assertTrue(expected_df.equals(returned_df))


if __name__ == "__main__":
unittest.main()