Skip to content

Commit

Permalink
Organize imports
Browse files Browse the repository at this point in the history
  • Loading branch information
gtca committed Jul 2, 2024
1 parent 123212b commit 068c575
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
5 changes: 4 additions & 1 deletion src/mudata/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@
except ModuleNotFoundError:
raise RuntimeError("mudata is not correctly installed. Please install it, e.g. with pip.")

from anndata import AnnData

from ._core import utils
from ._core.config import set_options
from ._core.io import (
Expand All @@ -33,11 +35,12 @@

__all__ = [
__version__,
MuData,
AnnData,
utils,
set_options,
to_anndata,
to_mudata,
MuData,
concat,
read,
read_h5ad,
Expand Down
6 changes: 3 additions & 3 deletions src/mudata/_core/views.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
from copy import deepcopy
from typing import TYPE_CHECKING

from anndata._core.views import ElementRef, _SetItemMixin

if TYPE_CHECKING:
from .mudata import MuData

from anndata._core.views import _SetItemMixin, ElementRef
from copy import deepcopy


class _ViewMixin(_SetItemMixin):
"""
Expand Down

0 comments on commit 068c575

Please sign in to comment.