Skip to content

Commit

Permalink
fixing linting 2
Browse files Browse the repository at this point in the history
  • Loading branch information
LeonStadelmann committed Jan 19, 2025
1 parent 3d47a12 commit 05b6dad
Show file tree
Hide file tree
Showing 6 changed files with 20 additions and 20 deletions.
2 changes: 1 addition & 1 deletion docs/developer/base.rst
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,4 @@ Base
solver.BaseSolver
solver.OTSolver
output.BaseDiscreteSolverOutput
output.MatrixSolverOutput
output.MatrixSolverOutput
6 changes: 3 additions & 3 deletions docs/developer/index.rst
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
Developer API
#############

.. module:: moscot
.. module:: moscot.dev

.. toctree::
:maxdepth: 3
:maxdepth: 2

backends
costs
base
utils
utils
10 changes: 0 additions & 10 deletions docs/user/generic.rst

This file was deleted.

7 changes: 3 additions & 4 deletions docs/user/index.rst
Original file line number Diff line number Diff line change
@@ -1,16 +1,15 @@
User API
########

.. module:: moscot
.. module:: moscot.user

Import :mod:`moscot` as::

import moscot as mt

.. toctree::
:maxdepth: 3
:maxdepth: 2

biological
generic
problems
plotting
datasets
11 changes: 11 additions & 0 deletions docs/user/biological.rst → docs/user/problems.rst
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,14 @@ Biological Problems
space.MappingProblem
spatiotemporal.SpatioTemporalProblem
cross_modality.TranslationProblem

Generic Problems
~~~~~~~~~~~~~~~~
.. module:: moscot.generic
.. currentmodule:: moscot.problems
.. autosummary::
:toctree: genapi

generic.SinkhornProblem
generic.GWProblem
generic.FGWProblem
4 changes: 2 additions & 2 deletions src/moscot/base/problems/compound_problem.py
Original file line number Diff line number Diff line change
Expand Up @@ -492,8 +492,8 @@ def add_problem(
def remove_problem(self, key: Tuple[K, K]) -> "BaseCompoundProblem[K, B]":
"""Remove a subproblem.
.. seealso::
- See :doc:`../../notebooks/examples/problems/300_adding_and_removing_problems` on how to remove subproblems.
- See :doc:`../../notebooks/examples/problems/300_adding_and_removing_problems` on
how to remove subproblems.
Parameters
----------
Expand Down

0 comments on commit 05b6dad

Please sign in to comment.