Skip to content

Commit de11360

Browse files
authored
Merge pull request #47 from mesoscope/fix/dependencies
Updating dependencies via uv lock --upgrade && uv sync
2 parents df3fff3 + 49f5ef5 commit de11360

File tree

5 files changed

+777
-755
lines changed

5 files changed

+777
-755
lines changed

.github/dependabot.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
version: 2
2+
3+
updates:
4+
- package-ecosystem: "uv"
5+
directory: "/"
6+
7+
schedule:
8+
interval: "monthly"
9+
10+
# Group *all* Python dependency updates into a single PR
11+
groups:
12+
python-all:
13+
patterns:
14+
- "*"
15+
16+
# Ensure Dependabot never opens more than one PR at a time
17+
open-pull-requests-limit: 1

cellpack_analysis/lib/distance.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -512,7 +512,7 @@ def get_ks_test_df(
512512
logger.warning(f"Missing distances for {mode}, {cell_id}, skipping KS test")
513513
continue
514514
ks_result = ks_2samp(distances_1, distances_2)
515-
ks_stat, p_value = ks_result.statistic, ks_result.pvalue # type:ignore
515+
ks_stat, p_value = ks_result.statistic, ks_result.pvalue # type: ignore
516516
record_list.append(
517517
{
518518
"distance_measure": distance_measure,
@@ -946,7 +946,7 @@ def get_scaled_structure_radius(
946946
else 1 / PIXEL_SIZE_IN_UM
947947
)
948948
scaled_radius_list.append(
949-
df_struct_stats.loc[cell_id, "radius"] / normalization_factor # type:ignore
949+
df_struct_stats.loc[cell_id, "radius"] / normalization_factor # type: ignore
950950
)
951951

952952
avg_radius = np.mean(scaled_radius_list).item()

cellpack_analysis/lib/occupancy.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -306,7 +306,7 @@ def get_occupancy_ks_test_df(
306306
occupancy_1 = occupancy_dict[baseline_mode]["individual"][cell_id]["occupancy"]
307307
occupancy_2 = occupancy_dict[mode]["individual"][cell_id]["occupancy"]
308308
ks_result = ks_2samp(occupancy_1, occupancy_2)
309-
ks_stat, p_value = ks_result.statistic, ks_result.pvalue # type:ignore
309+
ks_stat, p_value = ks_result.statistic, ks_result.pvalue # type: ignore
310310
record_list.append(
311311
{
312312
"distance_measure": distance_measure,

cellpack_analysis/preprocessing/calculate_available_space.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
distances are saved in a grid directory for each cell_id.
1010
Distances are normalized by the cell diameter and saved in the grid directory.
1111
"""
12+
1213
import argparse
1314
import logging
1415
from concurrent.futures import ProcessPoolExecutor, as_completed

0 commit comments

Comments
 (0)