Skip to content

Commit 4fd2277

Browse files
committed
fix typing
1 parent 0bdce41 commit 4fd2277

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

setup.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@
5959
"vivarium_dependencies[lint]",
6060
"types-setuptools",
6161
"types-psutil",
62+
"pyarrow-stubs",
6263
]
6364

6465
test_requirements = [

src/vivarium_cluster_tools/psimulate/results/processing.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ def bytes_per_row(self, metric: str) -> float:
113113
"""
114114
chunk_0_path = self.results_dir / metric / "chunk_0000.parquet"
115115
if chunk_0_path.exists():
116-
rows = pq.read_metadata(chunk_0_path).num_rows
116+
rows: int = pq.read_metadata(chunk_0_path).num_rows
117117
if rows > 0:
118118
return chunk_0_path.stat().st_size / rows
119119
return DEFAULT_BYTES_PER_ROW_ESTIMATE

0 commit comments

Comments
 (0)