Skip to content

Commit

Permalink
skip other tests #678
Browse files Browse the repository at this point in the history
  • Loading branch information
selmanozleyen committed Apr 30, 2024
1 parent 83a19f4 commit 6609f89
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions tests/problems/space/test_alignment_problem.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ def test_prepare_star(self, adata_space_rotate: AnnData, reference: str):
assert ref == reference
assert isinstance(ap[prob_key], ap._base_problem_type)

@pytest.mark.skip(reason="See https://github.com/theislab/moscot/issues/678")
@pytest.mark.parametrize(
("epsilon", "alpha", "rank", "initializer"),
[(1, 0.9, -1, None), (1, 0.5, 10, "random"), (1, 0.5, 10, "rank2"), (0.1, 0.1, -1, None)],
Expand All @@ -86,8 +87,7 @@ def test_solve_balanced(
rank: int,
initializer: Optional[Literal["random", "rank2"]],
):
# check https://github.com/ott-jax/ott/issues/495
kwargs = {"inner_iterations": 10}
kwargs = {}
if rank > -1:
kwargs["initializer"] = initializer
if initializer == "random":
Expand Down
4 changes: 2 additions & 2 deletions tests/problems/space/test_mapping_problem.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@ def test_prepare_varnames(self, adata_mapping: AnnData, var_names: Optional[List
assert prob.x.data_src.shape == (n_obs, x_n_var)
assert prob.y.data_src.shape == (n_obs, y_n_var)

@pytest.mark.skip(reason="See https://github.com/theislab/moscot/issues/678")
@pytest.mark.parametrize(
("epsilon", "alpha", "rank", "initializer"),
[(1e-2, 0.9, -1, None), (2, 0.5, 10, "random"), (2, 0.5, 10, "rank2"), (2, 0.1, -1, None)],
Expand All @@ -110,8 +111,7 @@ def test_solve_balanced(
initializer: Optional[Literal["random", "rank2"]],
):
adataref, adatasp = _adata_spatial_split(adata_mapping)
# check https://github.com/ott-jax/ott/issues/495
kwargs = {"inner_iterations": 10}
kwargs = {}
if rank > -1:
kwargs["initializer"] = initializer
if initializer == "random":
Expand Down

0 comments on commit 6609f89

Please sign in to comment.