Skip to content

Commit

Permalink
set ottjax version first and the tests
Browse files Browse the repository at this point in the history
  • Loading branch information
selmanozleyen committed Mar 20, 2024
1 parent a5187c0 commit fd407df
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ dependencies = [
"scanpy>=1.9.3",
"wrapt>=1.13.2",
"docrep>=0.3.2",
"ott-jax>=0.4.5",
"ott-jax @ git+https://github.com/ott-jax/ott.git@51a658aaa026528a3b9702e3d25c8f7af598cef0",
"cloudpickle>=2.2.0",
"rich>=13.5",
]
Expand Down
2 changes: 1 addition & 1 deletion tests/backends/ott/test_backend.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
from ott.problems.linear.linear_problem import LinearProblem
from ott.problems.quadratic import quadratic_problem
from ott.problems.quadratic.quadratic_problem import QuadraticProblem
from ott.solvers.linear import solve as sinkhorn
from ott.solvers.linear.sinkhorn import Sinkhorn
from ott.solvers.linear.sinkhorn import solve as sinkhorn
from ott.solvers.linear.sinkhorn_lr import LRSinkhorn
from ott.solvers.quadratic.gromov_wasserstein import GromovWasserstein
from ott.solvers.quadratic.gromov_wasserstein_lr import LRGromovWasserstein
Expand Down
2 changes: 1 addition & 1 deletion tests/problems/base/test_compound_problem.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
import numpy as np
from ott.geometry.costs import Cosine, Euclidean, SqEuclidean
from ott.geometry.pointcloud import PointCloud
from ott.solvers.linear.sinkhorn import solve as sinkhorn
from ott.solvers.linear import solve as sinkhorn
from sklearn.metrics.pairwise import euclidean_distances

from anndata import AnnData
Expand Down
2 changes: 1 addition & 1 deletion tests/problems/base/test_general_problem.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
import numpy as np
import pandas as pd
from ott.geometry.pointcloud import PointCloud
from ott.solvers.linear.sinkhorn import solve as sinkhorn
from ott.solvers.linear import solve as sinkhorn

import scanpy as sc
from anndata import AnnData
Expand Down

0 comments on commit fd407df

Please sign in to comment.