Skip to content

Commit

Permalink
Bump dependency versions (#77)
Browse files Browse the repository at this point in the history
* Bump setuptools (67.4.0 -> 70.3.0)

* Bump zipp (3.14.0 -> 3.19.2)

* Bump prefect (2.16.1 -> 2.19.8)

* Bump jinja2 (3.1.3 -> 3.1.4)

* Bump idna (3.4 -> 3.7)

* Bump black (22.12.0 -> 24.4.2)

* Bump certifi (2024.2.2 -> 2024.7.4)

* Bump pillow (10.2.0 -> 10.4.0)

* Bump requests (2.31.0 -> 2.32.3)

* Bump urllib3 (2.2.1 -> 2.2.2)

* Bump pydantic (1.10.5 -> 2.8.2)

* Fix linting errors
  • Loading branch information
jessicasyu authored Jul 15, 2024
1 parent d532fdc commit ee9ad58
Show file tree
Hide file tree
Showing 6 changed files with 399 additions and 219 deletions.
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()

0 comments on commit ee9ad58

Please sign in to comment.