Skip to content

Commit e5a10e6

Browse files
committed
ruff check
1 parent 936a954 commit e5a10e6

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

viscy/representation/evaluation/dimensionality_reduction.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,9 @@ def compute_phate(
7878
return phate_model, phate_embedding
7979

8080

81-
def compute_pca(embedding_dataset: NDArray | Dataset, n_components=None, normalize_features=True):
81+
def compute_pca(
82+
embedding_dataset: NDArray | Dataset, n_components=None, normalize_features=True
83+
):
8284
"""Compute PCA embeddings for features and optionally update dataset.
8385
8486
Parameters

viscy/representation/evaluation/distance.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ def calculate_cosine_similarity_cell(
1111
embedding_dataset: Dataset, fov_name: str, track_id: int
1212
) -> tuple[NDArray, NDArray]:
1313
"""
14-
14+
1515
Extract embeddings and calculate cosine similarities for a specific cell
16-
16+
1717
Parameters
1818
----------
1919
embedding_dataset : Dataset

0 commit comments

Comments
 (0)